Spec-Zone.ru › TensorFlow C++ 2.9

tensorflow::ops::ParseTensor

#include <parsing_ops.h>

Преобразует сериализованный протокол tensorflow.TensorProto в Tensor.

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

Аргументы:

  • scope: Объект Scope
  • serialized: Скалярная строка, содержащая сериализованный протокол TensorProto.
  • out_type: Тип сериализованного тензора. Указанный тип должен соответствовать типу сериализованного тензора, и не будет происходить неявного преобразования.

Возвращает:

  • Output: Tensor типа out_type.
Конструкторы и деструкторы
ParseTensor(const ::tensorflow::Scope & scope, ::tensorflow::Input serialized, DataType out_type)
Публичные атрибуты
operation
Operation
output
::tensorflow::Output
Публичные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Публичные атрибуты

operation

Operation operation

output

::tensorflow::Output output

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

ParseTensor

 ParseTensor(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input serialized,
  DataType out_type
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

© 2022 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.9/api_docs/cc/class/tensorflow/ops/parse-tensor

Spec-Zone.ru

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