Align docstring indentation in init_ops_v2.
PiperOrigin-RevId: 338723286 Change-Id: I772aa9794a48827b276b0765988ef4c0c9bc85d5
This commit is contained in:
parent
09a9081bd3
commit
f7b8dffda3
@ -58,14 +58,14 @@ class Initializer(object):
|
|||||||
of `tf.float32`.
|
of `tf.float32`.
|
||||||
**kwargs: Additional keyword arguments. Accepted values:
|
**kwargs: Additional keyword arguments. Accepted values:
|
||||||
`partition_shape` and `partition_offset`. Used when creating a single
|
`partition_shape` and `partition_offset`. Used when creating a single
|
||||||
partition in a partitioned variable. `partition_shape` is the shape
|
partition in a partitioned variable. `partition_shape` is the shape of
|
||||||
of the partition (i.e. the shape of the returned tensor) and
|
the partition (i.e. the shape of the returned tensor) and
|
||||||
`partition_offset` is a tuple of `int` specifying the offset of this
|
`partition_offset` is a tuple of `int` specifying the offset of this
|
||||||
partition w.r.t each axis. For example, a tensor of shape `(30, 100)`
|
partition w.r.t each axis. For example, a tensor of shape `(30, 100)`
|
||||||
can be partitioned into two partitions: `p0` of shape `(10, 100)` and
|
can be partitioned into two partitions: `p0` of shape `(10, 100)` and
|
||||||
`p1` of shape `(20, 100)`; if the initializer is called with
|
`p1` of shape `(20, 100)`; if the initializer is called with
|
||||||
`partition_shape=(20, 100)` and `partition_offset=(10, 0)`, it should
|
`partition_shape=(20, 100)` and `partition_offset=(10, 0)`, it should
|
||||||
return the value for `p1`.
|
return the value for `p1`.
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user