tensorflow::ops::Sum::Attrs

#include <math_ops.h>

Optional attribute setters for Sum.

Summary

Public attributes

keep_dims_ = false
bool

Public functions

KeepDims(bool x)
TF_MUST_USE_RESULT Attrs
If true, retain reduced dimensions with length 1.

Public attributes

keep_dims_

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

Public functions

KeepDims

TF_MUST_USE_RESULT Attrs tensorflow::ops::Sum::Attrs::KeepDims(
  bool x
)

If true, retain reduced dimensions with length 1.

Defaults to false