Spec-Zone.ru › TensorFlow C++ 2.3

tensorflow::ops::GuaranteeConst

#include <array_ops.h>

Обеспечивает гарантию для TF runtime, что входной тензор является константой.

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

Затем runtime может выполнять оптимизации на основе этой гарантии.

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

Возвращает входной тензор без изменений.

Аргументы:

  • scope: Объект Scope

Возвращает:

  • Output: Выходной тензор.
Конструкторы и деструкторы
GuaranteeConst(const ::tensorflow::Scope & scope, ::tensorflow::Input input)
Общедоступные атрибуты
operation
Operation
output
::tensorflow::Output
Общедоступные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

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

operation

Operation operation

output

::tensorflow::Output output

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

GuaranteeConst

 GuaranteeConst(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

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

Spec-Zone.ru

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