ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

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 ""