tf.raw_ops.VarHandleOp
Creates a handle to a Variable resource.
tf.raw_ops.VarHandleOp(
dtype, shape, container='', shared_name='', name=None
)
Args |
dtype
|
A tf.DType . the type of this variable. Must agree with the dtypes
of all ops using this variable.
|
shape
|
A tf.TensorShape or list of ints .
The (possibly partially specified) shape of this variable.
|
container
|
An optional string . Defaults to "" .
the container this variable is placed in.
|
shared_name
|
An optional string . Defaults to "" .
the name by which this variable is referred to.
|
name
|
A name for the operation (optional).
|
Returns |
A Tensor of type resource .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[]]