Google I/O에 참여해 주셔서 감사합니다. 주문형 모든 세션 보기 주문형 시청

tensorflow :: ops :: SerializeSparse

#include <sparse_ops.h>

SparseTensor[3] Tensor 객체로 직렬화합니다.

요약

인수 :

  • 범위 : 범위 개체
  • sparse_indices : 2-D. SparseTensorindices 입니다.
  • sparse_values ​​: 1-D. SparseTensorvalues 입니다.
  • sparse_shape : 1-D. SparseTensorshape .

선택적 속성 ( Attrs 참조) :

  • out_type : 직렬화에 사용할 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 :: 속성

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 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const 

공개 정적 함수

OutType

Attrs OutType(
  DataType x
)