tf.compat.v1.create_partitioned_variables

View source on GitHub

Create a list of partitioned variables according to the given slicing. (deprecated)

tf.compat.v1.create_partitioned_variables(
    shape, slicing, initializer, dtype=tf.dtypes.float32, trainable=True,
    collections=None, name=None, reuse=None
)

Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use tf.get_variable with a partitioner set.

Currently only one dimension of the full variable can be sliced, and the full variable can be reconstructed by the concatenation of the returned list along that dimension.

Args:

Returns:

A list of Variables corresponding to the slicing.

Raises: