{ }
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
)
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.
Returns | |
---|---|
A list of Variables corresponding to the slicing. |
Raises | |
---|---|
ValueError
|
If any of the arguments is malformed. |