tensorflow :: ops :: SerializeManySparse
#include <sparse_ops.h>
N
-minibatch SparseTensor
를 [N, 3]
Tensor
객체로 직렬화합니다.
요약
SparseTensor
순위 R
은 1보다 커야하며 첫 번째 차원은 미니 배치 차원으로 처리됩니다. SparseTensor
요소는이 첫 번째 차원의 SparseTensor
으로 정렬되어야합니다. 직렬화 된 SparseTensor
각 행에 들어가는 객체 serialized_sparse
순위 것 R-1
.
미니 배치 크기 N
은 sparse_shape sparse_shape[0]
에서 추출됩니다.
인수 :
- 범위 : 범위 개체
- sparse_indices : 2-D. 미니
SparseTensor
의indices
입니다. - sparse_values : 1-D. minibatch
SparseTensor
의values
입니다. - sparse_shape : 1-D. 미니
SparseTensor
의shape
.
선택적 속성 ( Attrs
참조) :
- out_type : 직렬화에 사용할
dtype
. 지원되는 유형은string
(기본값) 및variant
입니다.
보고:
-
Output
: serialized_sparse 텐서.
생성자와 소멸자 | |
---|---|
SerializeManySparse (const :: tensorflow::Scope & scope, :: tensorflow::Input sparse_indices, :: tensorflow::Input sparse_values, :: tensorflow::Input sparse_shape) | |
SerializeManySparse (const :: tensorflow::Scope & scope, :: tensorflow::Input sparse_indices, :: tensorflow::Input sparse_values, :: tensorflow::Input sparse_shape, const SerializeManySparse::Attrs & attrs) |
공용 속성 | |
---|---|
operation | |
serialized_sparse |
공공 기능 | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
공개 정적 함수 | |
---|---|
OutType (DataType x) |
구조체 | |
---|---|
tensorflow :: ops :: SerializeManySparse :: Attrs | SerializeManySparse에 대한 선택적 속성 설정자. |
공용 속성
조작
Operation operation
serialized_sparse
::tensorflow::Output serialized_sparse
공공 기능
SerializeManySparse
SerializeManySparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape )
SerializeManySparse
SerializeManySparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape, const SerializeManySparse::Attrs & attrs )
마디
::tensorflow::Node * node() const
연산자 :: tensorflow :: 입력
operator::tensorflow::Input() const
연산자 :: tensorflow :: 출력
operator::tensorflow::Output() const
공개 정적 함수
OutType
Attrs OutType( DataType x )