tensorflow::ops::StringToNumber

#include <parsing_ops.h>

Giriş Tensor'undaki her bir dizeyi belirtilen sayısal türe dönüştürür.

Özet

(int32 taşması hataya neden olurken, float taşması yuvarlanmış bir değer döndürür.)

Argümanlar:

İsteğe bağlı özellikler (bkz. Attrs ):

  • out_type: string_tensor her bir dizenin yorumlanacağı sayısal tür.

İadeler:

  • Output : Giriş string_tensor ile aynı şekle sahip bir Tensor .

Yapıcılar ve Yıkıcılar

StringToNumber (const :: tensorflow::Scope & scope, :: tensorflow::Input string_tensor)
StringToNumber (const :: tensorflow::Scope & scope, :: tensorflow::Input string_tensor, const StringToNumber::Attrs & attrs)

Genel özellikler

operation
output

Kamusal işlevler

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Herkese açık statik fonksiyonlar

OutType (DataType x)

Yapılar

tensorflow::ops::StringToNumber::Attrs

StringToNumber için isteğe bağlı öznitelik ayarlayıcıları.

Genel özellikler

operasyon

Operation operation

çıktı

::tensorflow::Output output

Kamusal işlevler

DizeyiSayıyaDönüştür

 StringToNumber(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input string_tensor
)

DizeyiSayıyaDönüştür

 StringToNumber(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input string_tensor,
  const StringToNumber::Attrs & attrs
)

düğüm

::tensorflow::Node * node() const 

operatör::tensorflow::Giriş

 operator::tensorflow::Input() const 

operatör::tensorflow::Çıktı

 operator::tensorflow::Output() const 

Herkese açık statik fonksiyonlar

ÇıkışTipi

Attrs OutType(
  DataType x
)