W3cubDocs

/TensorFlow C++ 2.3

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

© 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/temporary-variable/attrs