tensorflow :: ops :: SerializeSparse
#include <sparse_ops.h>
SparseTensor
を[3]
Tensor
オブジェクトにSparseTensor
化します。
概要
引数:
- スコープ:スコープオブジェクト
- sparse_indices:2-D。
SparseTensor
のindices
。 - sparse_values:1-D。
SparseTensor
のvalues
。 - sparse_shape:1-D。
SparseTensor
のshape
。
オプションの属性(参照Attrs
):
- out_type:
dtype
に使用するdtype
。サポートされているタイプはstring
(デフォルト)とvariant
です。
戻り値:
-
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) |
パブリック属性 | |
---|---|
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
serialized_sparse
::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
パブリック静的関数
OutType
Attrs OutType( DataType x )