тензорный поток:: опс:: СериализоватьSparse

#include <sparse_ops.h>

Сериализуйте SparseTensor в объект [3] Tensor .

Краткое содержание

Аргументы:

  • область: объект области .
  • разреженные_индексы: 2-D. indices SparseTensor .
  • разреженные_значения: 1-D. values SparseTensor .
  • разреженная_форма: 1-D. shape SparseTensor .

Необязательные атрибуты (см. Attrs ):

  • out_type: dtype , используемый для сериализации; Поддерживаемые типы: string (по умолчанию) variant .

Возврат:

  • Output : тензор seriesized_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

Общественные функции

СериализоватьSparse

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

СериализоватьSparse

 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::Input

 operator::tensorflow::Input() const 

оператор::tensorflow::Выход

 operator::tensorflow::Output() const 

Публичные статические функции

OutType

Attrs OutType(
  DataType x
)