W3cubDocs

/TensorFlow C++

tensorflow::ops::PreventGradient::Attrs

#include <array_ops.h>

Optional attribute setters for PreventGradient.

Summary

Public attributes
message_ = ""
StringPiece
Public functions
Message(StringPiece x)
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

Attrs tensorflow::ops::PreventGradient::Attrs::Message(
  StringPiece x
)

Will be printed in the error when anyone tries to differentiate this operation.

Defaults to ""

© 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/prevent-gradient/attrs.html