テンソルフロー::作戦::シリアル化スパース

#include <sparse_ops.h>

SparseTensor[3] Tensorオブジェクトにシリアル化します。

まとめ

引数:

  • スコープ:スコープオブジェクト
  • sparse_indices: 2 次元。 SparseTensorindices
  • sparse_values: 1-D。 SparseTensorvalues
  • sparse_shape: 1-D。 SparseTensorshape

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

  • out_type: シリアル化に使用するdtype 。サポートされている型はstring (デフォルト) とvariantです。

戻り値:

  • Output : シリアライズされた_sparse テンソル。

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

SerializeSparse (const :: tensorflow::Scope & scope, :: tensorflow::Input sparse_indices, :: tensorflow::Input sparse_values, :: tensorflow::Input sparse_shape)
SerializeSparse (const :: tensorflow::Scope & scope, :: tensorflow::Input sparse_indices, :: tensorflow::Input sparse_values, :: tensorflow::Input sparse_shape, const SerializeSparse::Attrs & attrs)

パブリック属性

operation
serialized_sparse

公共機能

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

パブリック静的関数

OutType (DataType x)

構造体

tensorflow:: ops:: SerializeSparse:: Attrs

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

パブリック属性

手術

Operation operation

シリアル化された_スパース

::tensorflow::Output serialized_sparse

公共機能

シリアル化スパース

 SerializeSparse(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input sparse_indices,
  ::tensorflow::Input sparse_values,
  ::tensorflow::Input sparse_shape
)

シリアル化スパース

 SerializeSparse(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input sparse_indices,
  ::tensorflow::Input sparse_values,
  ::tensorflow::Input sparse_shape,
  const SerializeSparse::Attrs & attrs
)

ノード

::tensorflow::Node * node() const 

演算子::tensorflow::入力

 operator::tensorflow::Input() const 

演算子::tensorflow::出力

 operator::tensorflow::Output() const 

パブリック静的関数

OutType

Attrs OutType(
  DataType x
)