W3cubDocs

/TensorFlow C++

tensorflow::ops::Max::Attrs

#include <math_ops.h>

Optional attribute setters for Max.

Summary

Public attributes
keep_dims_ = false
bool
Public functions
KeepDims(bool x)
If true, retain reduced dimensions with length 1.

Public attributes

keep_dims_

bool tensorflow::ops::Max::Attrs::keep_dims_ = false

Public functions

KeepDims

Attrs tensorflow::ops::Max::Attrs::KeepDims(
  bool x
)

If true, retain reduced dimensions with length 1.

Defaults to false

© 2017 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/api_docs/cc/struct/tensorflow/ops/max/attrs.html