Zha0q1 edited a comment on pull request #18976:
URL: https://github.com/apache/incubator-mxnet/pull/18976#issuecomment-678475440


   A more complete run:
   ```python
   for i in range(1000):
       A = np.random.normal(0, 1, (2, 2, 2, 2, 2))
       B = np.random.uniform(0, 1, (2, 2, 2, 2, 2))
       C = np.random.gamma(shape=1.0, size=(2, 2, 2, 2, 2))
       D = np.random.exponential(size=(2, 2, 2, 2, 2))
       E = np.random.laplace(loc=0, scale=1.0, size=(2, 2, 2, 2, 2))
       F = np.random.choice(a=10, size=(2, 2, 2, 2, 2))
       G = np.random.gumbel(loc=0, scale=1.0, size=(2, 2, 2, 2, 2))
       H = np.random.logistic(loc=0, scale=1.0, size=(2, 2, 2, 2, 2))
       I = np.random.multinomial(pvals=np.zeros((2)), n=1)
       J = np.random.pareto(a=1.0, size=(2, 2, 2, 2, 2))
       K = np.random.power(a=1.0, size=(2, 2, 2, 2, 2))
       L = np.random.rayleigh(scale=1.0, size=(2, 2, 2, 2, 2))
       M = np.random.weibull(a=1.0, size=(2, 2, 2, 2, 2))
   ```
   master:
   ```
   operator
   =================
   Name                          Total Count        Time (ms)    Min Time (ms)  
  Max Time (ms)    Avg Time (ms)
   ----                          -----------        ---------    -------------  
  -------------    -------------
   DeleteVariable                      20987         610.3330           0.0210  
         0.0950           0.0291
   _npi_gamma                           1000         185.7190           0.0860  
         0.4450           0.1857
   _npi_normal                          1000         140.3290           0.0850  
         1.2290           0.1403
   _npi_logistic                        1000         137.6960           0.0830  
         0.3350           0.1377
   _npi_pareto                          1000         137.6060           0.0830  
         0.3110           0.1376
   _npi_weibull                         1000         136.6120           0.0820  
         0.2790           0.1366
   _npi_rayleigh                        1000         135.1940           0.0800  
         0.4920           0.1352
   _npi_exponential                     1000         135.0910           0.0800  
         0.2640           0.1351
   _npi_gumbel                          1000         134.6010           0.0800  
         0.3650           0.1346
   _npi_powerd                          1000         120.1590           0.0690  
         0.3580           0.1202
   _npi_uniform                         1000         119.4080           0.0710  
         0.7370           0.1194
   _npi_laplace                         1000         119.0780           0.0710  
         0.6050           0.1191
   _npi_multinomial                     1000         115.6820           0.0700  
         0.1570           0.1157
   _npi_choice                          1000         110.2680           0.0670  
         0.2070           0.1103
   _npi_zeros                           1000          75.5970           0.0480  
         0.1150           0.0756
   ResourceParallelRandomSetSeed               1          27.9040          
27.9040          27.9040          27.9040
   
   
   ```
   
   This PR:
   ```
   operator                                                                     
                                     
   =================                                                            
                                     
   Name                          Total Count        Time (ms)    Min Time (ms)  
  Max Time (ms)    Avg Time (ms)     
   ----                          -----------        ---------    -------------  
  -------------    -------------     
   DeleteVariable                      20987         621.4150           0.0210  
         0.7340           0.0296     
   _npi_gamma                           1000         184.8120           0.1350  
         0.4720           0.1848     
   _npi_normal                          1000         143.1670           0.1280  
         1.2960           0.1432     
   _npi_pareto                          1000         140.0840           0.1240  
         0.2890           0.1401
   _npi_logistic                        1000         140.0770           0.1260  
         0.5310           0.1401
   _npi_weibull                         1000         139.2150           0.1250  
         0.2790           0.1392
   _npi_exponential                     1000         137.4460           0.1220  
         0.3430           0.1374
   _npi_rayleigh                        1000         137.1100           0.1230  
         0.2560           0.1371
   _npi_gumbel                          1000         136.6350           0.1230  
         0.2600           0.1366
   _npi_powerd                          1000         121.5630           0.1030  
         0.1940           0.1216
   _npi_uniform                         1000         120.6590           0.1080  
         0.2760           0.1207
   _npi_laplace                         1000         120.5610           0.1080  
         0.1710           0.1206
   _npi_multinomial                     1000         117.6830           0.1060  
         0.2190           0.1177
   _npi_choice                          1000         112.3790           0.1000  
         0.2520           0.1124
   _npi_zeros                           1000          76.8710           0.0600  
         0.1450           0.0769
   ResourceParallelRandomSetSeed               1          28.0170          
28.0170          28.0170          28.0170
   
   
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to