tensorflow:: ops:: DecodeRaw

#include <parsing_ops.h>

文字列のバイト列を数値のベクトルとして再解釈する。

まとめ

議論:

  • スコープ:スコープオブジェクト
  • バイト数:すべての要素は同じ長さでなければなりません。

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

  • little_endian: 入力bytesがリトルエンディアン順かどうか。uint8 uint8ように 1 バイトに格納されるout_type値の場合は無視されます。

返品:

  • Output :入力bytesより次元が1つ多いテンソル。追加された次元のサイズは、 bytesの要素の長さを、 out_typeを表すバイト数で割った値になります。

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

DecodeRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, DataType out_type)
DecodeRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, DataType out_type, const DecodeRaw::Attrs & attrs)

公開属性

operation
output

公的機能

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

パブリック静的関数

LittleEndian (bool x)

構造

tensorflow:: ops:: DecodeRaw:: Attrs

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

公開属性

手術

Operation operation

出力

::tensorflow::Output output

公的機能

DecodeRaw

 DecodeRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes,
  DataType out_type
)

DecodeRaw

 DecodeRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes,
  DataType out_type,
  const DecodeRaw::Attrs & attrs
)

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

パブリック静的関数

リトルエンディアン

Attrs LittleEndian(
  bool x
)