#include <array_ops.h>
Optional attribute setters for OneHot.
Public attributes | |
---|---|
axis_ = -1 | int64 |
Public functions | |
---|---|
Axis(int64 x) | The axis to fill (default: -1, a new inner-most axis). |
int64 tensorflow::ops::OneHot::Attrs::axis_ = -1
Attrs tensorflow::ops::OneHot::Attrs::Axis( int64 x )
The axis to fill (default: -1, a new inner-most axis).
Defaults to -1
© 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/one-hot/attrs.html