146b49ead32b941f74db694f2d453cb25650d252,tests/python/gpu/test_operator_gpu.py,,test_batchnorm_with_type,#,378

Before Change


  // V2, 1D
  sym = mx.sym.BatchNorm(name="norm", fix_gamma=False, cudnn_off=True)
  check_consistency(sym, ctx_list_v2_1D)
  sym = mx.sym.BatchNorm(name="norm", fix_gamma=False, cudnn_off=True)
  check_consistency(sym, ctx_list_v2_1D)
  sym = mx.sym.BatchNorm(name="norm", fix_gamma=True, cudnn_off=True)
  check_consistency(sym, ctx_list_v2_1D)
  sym = mx.sym.BatchNorm(name="norm", fix_gamma=True, cudnn_off=True)

After Change


      check_consistency(sym, ctx_list_v2_2D)

  // V2, 1D
  for fix_gamma, cudnn_off in itertools.product(bools, bools):
      sym = mx.sym.BatchNorm(name="norm", fix_gamma=fix_gamma, cudnn_off=cudnn_off)
      check_consistency(sym, ctx_list_v2_1D)

  // V2, 3D
  for fix_gamma, cudnn_off in itertools.product(bools, [True,]):
      sym = mx.sym.BatchNorm(name="norm", fix_gamma=fix_gamma, cudnn_off=cudnn_off)
      check_consistency(sym, ctx_list_v2_3D)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: apache/incubator-mxnet
Commit Name: 146b49ead32b941f74db694f2d453cb25650d252
Time: 2020-07-19
Author: dcarter@nvidia.com
File Name: tests/python/gpu/test_operator_gpu.py
Class Name:
Method Name: test_batchnorm_with_type


Project Name: deepchem/deepchem
Commit Name: 012395e781e1431d2f214c3b6c7a5740b78b0867
Time: 2017-12-18
Author: lilleswing@gmail.com
File Name: deepchem/models/tensorgraph/models/graph_models.py
Class Name: GraphConvTensorGraph
Method Name: build_graph


Project Name: explosion/thinc
Commit Name: 0db408d1eea2ce5c1d9b20fe61cb519e059d6cef
Time: 2017-09-15
Author: honnibal+gh@gmail.com
File Name: examples/basic_tagger.py
Class Name:
Method Name: main