Spec-Zone.ru › TensorFlow C++ 2.9

tensorflow::ops::Min

#include <math_ops.h>

Вычисляет минимальное значение элементов по измерениям тензора.

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

Сводит input по измерениям, указанным в axis. Если keep_dims не равно true, ранг тензора уменьшается на 1 для каждого элемента в axis. Если keep_dims равно true, уменьшенные измерения сохраняются с длиной 1.

Аргументы:

  • scope: Объект Scope
  • input: Тензор для сведения.
  • axis: Измерения для сведения. Должны находиться в диапазоне [-rank(input), rank(input)).

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

  • keep_dims: Если true, сохраняет уменьшенные измерения с длиной 1.

Возвращает:

  • Output: Результирующий тензор.

Псевдонимы:

  • ReduceMin
Конструкторы и деструкторы
Min(const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis)
Min(const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis, const Min::Attrs & attrs)
Общедоступные атрибуты
operation
Operation
output
::tensorflow::Output
Общедоступные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Общедоступные статические функции
KeepDims(bool x)
Attrs
Структуры
tensorflow::ops::Min::Attrs

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

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

operation

Operation operation

output

::tensorflow::Output output

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

Min

 Min(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input axis
)

Min

 Min(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input axis,
  const Min::Attrs & attrs
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

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

KeepDims

Attrs KeepDims(
  bool x
)

© 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/versions/r2.9/api_docs/cc/class/tensorflow/ops/min

Spec-Zone.ru

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