Spec-Zone.ru › TensorFlow C++ 1.15

tensorflow::ops::GuaranteeConst

#include <array_ops.h>

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

Summary

Затем среда выполнения может свободно выполнять оптимизации, основанные на этом.

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

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

Arguments:

  • scope: Объект Scope

Returns:

  • 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/r1.15/api_docs/cc/class/tensorflow/ops/guarantee-const

Spec-Zone.ru

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