Information on how to save this Variable as a slice.
View aliases
Main aliases
tf.experimental.dtensor.DVariable.SaveSliceInfo
See Migration guide for more details.
tf.Variable.SaveSliceInfo(
full_name=None,
full_shape=None,
var_offset=None,
var_shape=None,
save_slice_info_def=None,
import_scope=None
)
Provides internal support for saving variables as slices of a larger variable. This API is not public and is subject to change.
Available properties:
- full_name
- full_shape
- var_offset
- var_shape
Methods
to_proto
to_proto(
export_scope=None
)
Returns a SaveSliceInfoDef() proto.
Args | |
---|---|
export_scope
|
Optional string . Name scope to remove.
|
Returns | |
---|---|
A SaveSliceInfoDef protocol buffer, or None if the Variable is not
in the specified name scope.
|