Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tensorflow::ops::SparseReduceMaxSparse::Attrs

#include <sparse_ops.h>

Optional attribute setters for SparseReduceMaxSparse.

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::SparseReduceMaxSparse::Attrs::keep_dims_ = false

Public functions

KeepDims

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

If true, retain reduced dimensions with length 1.

Defaults to false