Spec-Zone.ru › TensorFlow C++

tensorflow::ops::ParseTensor

#include <parsing_ops.h>

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

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

Аргументы:

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

Возвращает:

  • Output: тензор типа 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/api_docs/cc/class/tensorflow/ops/parse-tensor

Spec-Zone.ru

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