tensorflow:: ops:: SerializeSparse

#include <sparse_ops.h>

SparseTensorを[3] Tensorオブジェクトにシリアライズします。

まとめ

議論:

  • スコープ:スコープオブジェクト
  • SparseTensor : 2次元。SparseTensorのindices 。
  • SparseTensor : 1次元。SparseTensorのvalues 。
  • SparseTensor : 1次元。SparseTensorのshape 。

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

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

返品:

  • Output :シリアル化されたスパーステンソル。

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

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

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

SerializeSparse

 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 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

パブリック静的関数

出力タイプ

Attrs OutType(
  DataType x
)