Spec-Zone.ru › TensorFlow C++ 1.15

tensorflow::ops::Max

#include <math_ops.h>

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

Summary

Сводит 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: Уменьшенный тензор.

Псевдонимы:

  • ReduceMax
Конструкторы и деструкторы
Max(const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis)
Max(const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis, const Max::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::Max::Attrs

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

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

operation

Operation operation

output

::tensorflow::Output output

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

Max

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

Max

 Max(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input axis,
  const Max::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
)

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

Spec-Zone.ru

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