File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,24 @@ class OptionalTensorList:
3535
3636class  TensorShapeDynamism (IntEnum ):
3737    """ 
38-     Check schema .fbs for explanations of this enum. 
38+     Check program .fbs for explanations of this enum. 
3939    """ 
4040
4141    STATIC  =  0 
4242    DYNAMIC_BOUND  =  1 
4343    DYNAMIC_UNBOUND  =  2 
4444
4545
46+ @dataclass  
47+ class  ExtraTensorInfo :
48+     """ 
49+     Check program.fbs for explanations of this enum. 
50+     """ 
51+ 
52+     mutable_data_segments_idx : Optional [int ] =  None 
53+     fully_qualified_name : Optional [str ] =  None 
54+ 
55+ 
4656@dataclass  
4757class  Tensor :
4858    scalar_type : ScalarType 
@@ -54,8 +64,9 @@ class Tensor:
5464    data_buffer_idx : int 
5565    allocation_info : Optional [AllocationDetails ]
5666
57-     # check schema .fbs for explanations 
67+     # check program .fbs for explanations.  
5868    shape_dynamism : TensorShapeDynamism 
69+     extra_tensor_info : Optional [ExtraTensorInfo ] =  None 
5970
6071
6172@dataclass  
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments