tensorflow::ops::PreventGradient::Attrs

#include <array_ops.h>

Optional attribute setters for PreventGradient.

Summary

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.

Public attributes

message_

StringPiece tensorflow::ops::PreventGradient::Attrs::message_ = ""

Public functions

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 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/prevent-gradient/attrs