Spec-Zone.ru › TensorFlow C++ 1.15

tensorflow::ops::Assert

#include <logging_ops.h>

Проверяет, что заданное условие истинно.

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

Если condition принимает значение ложь, выводит список тензоров в data. summarize определяет, сколько элементов тензоров вывести.

Аргументы:

  • scope: Объект Scope
  • condition: Условие для проверки.
  • data: Тензоры, которые выводить, когда условие ложно.

Необязательные атрибуты (см. Attrs):

  • summarize: Print количество элементов каждого тензора для вывода.

Возвращает:

  • созданный Operation
Конструкторы и деструкторы
Assert(const ::tensorflow::Scope & scope, ::tensorflow::Input condition, ::tensorflow::InputList data)
Assert(const ::tensorflow::Scope & scope, ::tensorflow::Input condition, ::tensorflow::InputList data, const Assert::Attrs & attrs)
Общедоступные атрибуты
operation
Operation
Общедоступные функции
operator::tensorflow::Operation() const
Общедоступные статические функции
Summarize(int64 x)
Attrs
Структуры
tensorflow::ops::Assert::Attrs

Необязательные устанавливатели атрибутов для Assert.

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

operation

Operation operation

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

Assert

 Assert(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input condition,
  ::tensorflow::InputList data
)

Assert

 Assert(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input condition,
  ::tensorflow::InputList data,
  const Assert::Attrs & attrs
)

оператор::tensorflow::Operation

operator::tensorflow::Operation() const 

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

Summarize

Attrs Summarize(
  int64 x
)

© 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/assert

Spec-Zone.ru

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