386a45f22f4660f20f40de6404ca1ea123351ced,scripts/bert/compare_tf_gluon_model.py,,,#,33
Before Change
print("stdev = %s" % (np.std(a - b)))
mx.test_utils.assert_almost_equal(a, b, atol=1e-4, rtol=1e-4)
mx.test_utils.assert_almost_equal(a, b, atol=1e-5, rtol=1e-5)
mx.test_utils.assert_almost_equal(a, b, atol=5e-6, rtol=5e-6)
break
After Change
input_file = os.path.expanduser(args.input_file)
tf_bert_repo_dir = os.path.expanduser(args.tf_bert_repo_dir)
tf_model_dir = os.path.expanduser(args.tf_model_dir)
vocab_file = os.path.join(tf_model_dir, "vocab.txt")
bert_config_file = os.path.join(tf_model_dir, "bert_config.json")
init_checkpoint = os.path.join(tf_model_dir, "bert_model.ckpt")
do_lower_case = not args.cased
max_length = 128
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: dmlc/gluon-nlp
Commit Name: 386a45f22f4660f20f40de6404ca1ea123351ced
Time: 2019-03-17
Author: szha@users.noreply.github.com
File Name: scripts/bert/compare_tf_gluon_model.py
Class Name:
Method Name:
Project Name: GPflow/GPflow
Commit Name: dec3dcf7b86168234e38e4f40059abecd3245c44
Time: 2017-10-29
Author: art.art.v@gmail.com
File Name: testing/test_profiling.py
Class Name: TestProfiling
Method Name: test_autoflow
Project Name: streamlit/streamlit
Commit Name: d32ecf41fbcfd2b050cf14a76638a9e5b9e5345a
Time: 2019-10-08
Author: tconkling@gmail.com
File Name: lib/tests/streamlit/credentials_test.py
Class Name: CredentialsClassTest
Method Name: test_Credentials_save