List of the given size with empty elements.
tf.raw_ops.TensorListReserve(
element_shape, num_elements, element_dtype, name=None
)
element_shape: the shape of the future elements of the list num_elements: the number of elements to reserve handle: the output list element_dtype: the desired type of elements in the list.
Args | |
---|---|
element_shape
|
A Tensor . Must be one of the following types: int32 , int64 .
|
num_elements
|
A Tensor of type int32 .
|
element_dtype
|
A tf.DType .
|
name
|
A name for the operation (optional). |
Returns | |
---|---|
A Tensor of type variant .
|