tensorflow:: ops:: StringToNumber

#include <parsing_ops.h>

入力テンソル内の各文字列を、指定された数値型に変換します。

まとめ

(int32型のオーバーフローはエラーになりますが、float型のオーバーフローは丸められた値になります。)

議論:

オプション属性( Attrs参照):

  • out_type: string_tensor内の各文字列を解釈するための数値型。

返品:

コンストラクターとデストラクタ

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

公開属性

operation
output

公的機能

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

パブリック静的関数

OutType (DataType x)

構造

tensorflow:: ops:: StringToNumber:: Attrs

StringToNumberのオプション属性セッター。

公開属性

手術

Operation operation

出力

::tensorflow::Output output

公的機能

文字列を数値に変換

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

文字列を数値に変換

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

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

パブリック静的関数

出力タイプ

Attrs OutType(
  DataType x
)