テンソルフロー::作戦:: DecodePaddedRaw

#include <parsing_ops.h>

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

まとめ

引数:

  • スコープ:スコープオブジェクト
  • input_bytes: デコードされる文字列のテンソル
  • fix_length: デコードされた出力の各要素のバイト単位の長さ。出力タイプのサイズの倍数である必要があります。

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

  • little_endian: 入力input_bytesリトルエンディアン順であるかどうか。 uint8などの単一バイトに格納されるout_type値の場合は無視されます。

戻り値:

  • Output : 入力bytesよりも 1 次元多いTensor 。追加される次元のサイズは、 out_typeを表すバイト数で割ったbytes要素の長さに等しいサイズになります。

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

DecodePaddedRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input input_bytes, :: tensorflow::Input fixed_length, DataType out_type)
DecodePaddedRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input input_bytes, :: tensorflow::Input fixed_length, DataType out_type, const DecodePaddedRaw::Attrs & attrs)

パブリック属性

operation
output

公共機能

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

パブリック静的関数

LittleEndian (bool x)

構造体

tensorflow:: ops:: DecodePaddedRaw:: Attrs

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

パブリック属性

手術

Operation operation

出力

::tensorflow::Output output

公共機能

DecodePaddedRaw

 DecodePaddedRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_bytes,
  ::tensorflow::Input fixed_length,
  DataType out_type
)

DecodePaddedRaw

 DecodePaddedRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_bytes,
  ::tensorflow::Input fixed_length,
  DataType out_type,
  const DecodePaddedRaw::Attrs & attrs
)

ノード

::tensorflow::Node * node() const 

演算子::tensorflow::入力

 operator::tensorflow::Input() const 

演算子::tensorflow::出力

 operator::tensorflow::Output() const 

パブリック静的関数

リトルエンディアン

Attrs LittleEndian(
  bool x
)