tf.Variable.SaveSliceInfo
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
Information on how to save this Variable as a slice.
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
| Args | 
|---|
| 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. | 
| save_slice_info_def | SaveSliceInfoDefprotocol buffer. If notNone,
recreates the SaveSliceInfo object its contents.save_slice_info_defand other arguments are mutually exclusive. | 
| import_scope | Optional string. Name scope to add. Only used when
initializing from protocol buffer. | 
| Attributes | 
|---|
| spec | Computes the spec string used for saving. | 
Methods
to_proto
View source
to_proto(
    export_scope=None
)
Returns a SaveSliceInfoDef() proto.
| Args | 
|---|
| export_scope | Optional string. Name scope to remove. | 
| Returns | 
|---|
| A SaveSliceInfoDefprotocol buffer, or None if theVariableis not
in the specified name scope. | 
  
  
 
  
    
    
      
       
    
    
  
  
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2020-10-01 UTC.
  
  
  
    
      [null,null,["Last updated 2020-10-01 UTC."],[],[]]