#include <sparse_ops.h>
Optional attribute setters for SparseReduceSum.
Public attributes | |
---|---|
keep_dims_ = false | bool |
Public functions | |
---|---|
KeepDims(bool x) | TF_MUST_USE_RESULT Attrs If true, retain reduced dimensions with length 1. |
bool tensorflow::ops::SparseReduceSum::Attrs::keep_dims_ = false
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseReduceSum::Attrs::KeepDims( bool x )
If true, retain reduced dimensions with length 1.
Defaults to false
© 2018 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/sparse-reduce-sum/attrs.html