W3cubDocs

/TensorFlow C++

tensorflow::ops::TemporaryVariable::Attrs

#include <state_ops.h>

Optional attribute setters for TemporaryVariable.

Summary

Public attributes
var_name_ = ""
StringPiece
Public functions
VarName(StringPiece x)
Overrides the name used for the temporary variable resource.

Public attributes

var_name_

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

Public functions

VarName

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

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