File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed 
tutorials/01-basics/pytorch_basics Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1212# 1. Basic autograd example 1               (Line 21 to 36) 
1313# 2. Basic autograd example 2               (Line 39 to 77) 
1414# 3. Loading data from numpy                (Line 80 to 83) 
15- # 4. Implementing the input pipline          (Line 86 to 113) 
16- # 5. Input pipline  for custom dataset       (Line 116 to 138) 
15+ # 4. Implementing the input pipeline          (Line 86 to 113) 
16+ # 5. Input pipeline  for custom dataset       (Line 116 to 138) 
1717# 6. Using pretrained model                 (Line 141 to 155) 
1818# 7. Save and load model                    (Line 158 to 165)  
1919
8383c  =  b .numpy ()                # convert torch tensor to numpy array 
8484
8585
86- #===================== Implementing the input pipline  =====================# 
86+ #===================== Implementing the input pipeline  =====================# 
8787# Download and construct dataset. 
8888train_dataset  =  dsets .CIFAR10 (root = '../data/' ,
8989                               train = True , 
113113    pass 
114114
115115
116- #===================== Input pipline  for custom dataset =====================# 
116+ #===================== Input pipeline  for custom dataset =====================# 
117117# You should build custom dataset as below. 
118118class  CustomDataset (data .Dataset ):
119119    def  __init__ (self ):
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments