tensorflow::ops::Variable::Attrs

tensorflow::ops::Variable::Attrs

#include <state_ops.h>

Optional attribute setters for Variable.

Summary

Public attributes
container_ = ""
StringPiece
shared_name_ = ""
StringPiece
Public functions
Container(StringPiece x)
If non-empty, this variable is placed in the given container.
SharedName(StringPiece x)
If non-empty, this variable is named in the given bucket with this shared_name.

Public attributes

container_

StringPiece tensorflow::ops::Variable::Attrs::container_ = ""

shared_name_

StringPiece tensorflow::ops::Variable::Attrs::shared_name_ = ""

Public functions

Container

Attrs tensorflow::ops::Variable::Attrs::Container(
  StringPiece x
)

If non-empty, this variable is placed in the given container.

Otherwise, a default container is used.

Defaults to ""

SharedName

Attrs tensorflow::ops::Variable::Attrs::SharedName(
  StringPiece x
)

If non-empty, this variable is named in the given bucket with this shared_name.

Otherwise, the node name is used instead.

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

编程狮1024程序员节
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部