Information on how to save this Variable as a slice.
Provides internal support for saving variables as slices of a larger variable. This API is not public and is subject to change.
Computes the spec string used for saving.
__init__( full_name=None, full_shape=None, var_offset=None, var_shape=None, save_slice_info_def=None, import_scope=None )
full_name: Name of the full variable of which this
Variableis a slice.
full_shape: Shape of the full variable, as a list of int.
var_offset: Offset of this
Variableinto the full variable, as a list of int.
var_shape: Shape of this
Variable, as a list of int.
SaveSliceInfoDefprotocol buffer. If not
None, recreates the SaveSliceInfo object its contents.
save_slice_info_defand other arguments are mutually exclusive.
string. Name scope to add. Only used when initializing from protocol buffer.
Returns a SaveSliceInfoDef() proto.
string. Name scope to remove.
SaveSliceInfoDef protocol buffer, or None if the
Variable is not in the specified name scope.
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.