#include <array_ops.h>
Optional attribute setters for PreventGradient.
| Public attributes | |
|---|---|
message_ = "" | StringPiece |
| Public functions | |
|---|---|
Message(StringPiece x) | TF_MUST_USE_RESULT Attrs Will be printed in the error when anyone tries to differentiate this operation. |
StringPiece tensorflow::ops::PreventGradient::Attrs::message_ = ""
TF_MUST_USE_RESULT Attrs tensorflow::ops::PreventGradient::Attrs::Message( StringPiece x )
Will be printed in the error when anyone tries to differentiate this operation.
Defaults to ""
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/struct/tensorflow/ops/prevent-gradient/attrs