File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 4040
4141############################################################################### 
4242# We are now ready to create the input matrices :math:`\mathbf{A}` of size 
43- # :math:`M \times k` and :math:`\mathbf{A }` of size :math:`K \times N`. 
43+ # :math:`M \times k` and :math:`\mathbf{X }` of size :math:`K \times N`. 
4444N , K , M  =  4 , 4 , 4 
4545A  =  np .random .rand (N  *  K ).astype (dtype = np .float32 ).reshape (N , K )
4646X  =  np .random .rand (K  *  M ).astype (dtype = np .float32 ).reshape (K , M )
Original file line number Diff line number Diff line change 3232
3333############################################################################### 
3434# We set the seed such that all processes can create the input matrices filled 
35- # with the same random number. In practical application , such matrices will be 
35+ # with the same random number. In practical applications , such matrices will be 
3636# filled with data that is appropriate to the use-case. 
3737np .random .seed (42 )
3838
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments