Spec-Zone.ru › TensorFlow C++

tensorflow::ops::ImmutableConst

#include <array_ops.h>

Возвращает неизменяемый тензор из области памяти.

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

Текущая реализация отображает тензор из файла.

Аргументы:

  • scope: Объект Scope
  • dtype: Тип возвращаемого тензора.
  • shape: Форма возвращаемого тензора.
  • memory_region_name: Имя только для чтения области памяти, используемой тензором. См. NewReadOnlyMemoryRegionFromFile в tensorflow::Env.

Возвращает:

  • Output: Тензор tensor.
Конструкторы и деструкторы
ImmutableConst(const ::tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, StringPiece memory_region_name)
Общедоступные атрибуты
operation
Operation
tensor
::tensorflow::Output
Общедоступные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

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

operation

Operation operation

tensor

::tensorflow::Output tensor

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

ImmutableConst

 ImmutableConst(
  const ::tensorflow::Scope & scope,
  DataType dtype,
  PartialTensorShape shape,
  StringPiece memory_region_name
)

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/immutable-const

Spec-Zone.ru

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