tensorflow::ops::SerializeSparse

#include <sparse_ops.h>

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

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

Аргументы:

  • scope: Объект Scope
  • sparse_indices: 2D. indices SparseTensor .
  • sparse_values: 1-мерное значение. values SparseTensor .
  • sparse_shape: 1-мерная shape SparseTensor .

Дополнительные атрибуты (см. 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 

оператор::tensorflow::Input

 operator::tensorflow::Input() const 

оператор::tensorflow::Output

 operator::tensorflow::Output() const 

Открытые статические функции

OutType

Attrs OutType(
  DataType x
)