tensorflow::ops::TemporaryVariable::Attrs

#include <state_ops.h>

Optional attribute setters for TemporaryVariable.

Summary

Public attributes

var_name_ = ""
StringPiece

Public functions

VarName(StringPiece x)
TF_MUST_USE_RESULT Attrs
Overrides the name used for the temporary variable resource.

Public attributes

var_name_

StringPiece tensorflow::ops::TemporaryVariable::Attrs::var_name_ = ""

Public functions

VarName

TF_MUST_USE_RESULT Attrs tensorflow::ops::TemporaryVariable::Attrs::VarName(
  StringPiece x
)

Overrides the name used for the temporary variable resource.

Default value is the name of the 'TemporaryVariable' op (which is guaranteed unique).

Defaults to ""