Spec-Zone.ru › TensorFlow C++ 2.4

tensorflow::ops::SerializeSparse

#include <sparse_ops.h>

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

Краткое описание

Аргументы:

  • scope: Объект Scope
  • sparse_indices: 2-мерный. Индексы indices SparseTensor.
  • sparse_values: 1-мерный. Значения values SparseTensor.
  • sparse_shape: 1-мерный. Форма shape SparseTensor.

Необязательные атрибуты (см. 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
Operation
serialized_sparse
::tensorflow::Output
Общедоступные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Общедоступные статические функции
OutType(DataType x)
Attrs
Структуры
tensorflow::ops::SerializeSparse::Attrs

Необязательные параметры установки атрибутов для SerializeSparse.

Общедоступные атрибуты

operation

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
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

Общедоступные статические функции

OutType

Attrs OutType(
  DataType x
)

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/ops/serialize-sparse

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API