¿Tengo una pregunta? Conéctese con la comunidad en el Foro de visita del foro de TensorFlow

tensorflow:: ops:: Max

#include <math_ops.h>

Computes the maximum of elements across dimensions of a tensor.

Summary

Reduces input along the dimensions given in axis . Unless keep_dims is true, the rank of the tensor is reduced by 1 for each entry in axis . If keep_dims is true, the reduced dimensions are retained with length 1.

Args:

  • scope: A Scope object
  • input: The tensor to reduce.
  • axis: The dimensions to reduce. Must be in the range [-rank(input), rank(input)) .

Optional attributes (see Attrs ):

  • keep_dims: If true, retain reduced dimensions with length 1.

Returns:

Aliases:

  • ReduceMax

Constructors and Destructors

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)

Public attributes

operation
output

Public functions

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Public static functions

KeepDims (bool x)

Structs

tensorflow:: ops:: Max:: Attrs

Optional attribute setters for Max .

Public attributes

operation

Operation operation

output

::tensorflow::Output output

Public functions

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 

Public static functions

KeepDims

Attrs KeepDims(
  bool x
)