Save the date! Google I/O returns May 18-20 Register now


Creates a handle to a Variable resource.

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).

A Tensor of type resource.