13f05785c25b4015641115467539c9ef389bcdc4,tests/estimators/speech_recognition/test_tensorflow_lingvo.py,TestLingvoAsr,test_predict,#TestLingvoAsr#Any#,177
Before Change
)
def test_predict(self, audio_data):
tf1.reset_default_graph()
test_input = audio_data
lingvo = LingvoAsr()
After Change
def test_predict(self, audio_data):
import tensorflow.compat.v1 as tf1
tf1.reset_default_graph()
test_input = audio_data
lingvo = LingvoAsr()
In pattern: SUPERPATTERN
Frequency: 13
Non-data size: 4
Instances
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 13f05785c25b4015641115467539c9ef389bcdc4
Time: 2020-11-02
Author: hessel.tuinhof@ibm.com
File Name: tests/estimators/speech_recognition/test_tensorflow_lingvo.py
Class Name: TestLingvoAsr
Method Name: test_predict
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 13f05785c25b4015641115467539c9ef389bcdc4
Time: 2020-11-02
Author: hessel.tuinhof@ibm.com
File Name: tests/estimators/speech_recognition/test_tensorflow_lingvo.py
Class Name: TestLingvoAsr
Method Name: test_loss_gradient_per_batch
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 13f05785c25b4015641115467539c9ef389bcdc4
Time: 2020-11-02
Author: hessel.tuinhof@ibm.com
File Name: tests/estimators/speech_recognition/test_tensorflow_lingvo.py
Class Name: TestLingvoAsr
Method Name: test_pad_audio_input
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 13f05785c25b4015641115467539c9ef389bcdc4
Time: 2020-11-02
Author: hessel.tuinhof@ibm.com
File Name: tests/estimators/speech_recognition/test_tensorflow_lingvo.py
Class Name: TestLingvoAsr
Method Name: test_create_log_mel_features
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 13f05785c25b4015641115467539c9ef389bcdc4
Time: 2020-11-02
Author: hessel.tuinhof@ibm.com
File Name: tests/estimators/speech_recognition/test_tensorflow_lingvo.py
Class Name: TestLingvoAsr
Method Name: test_check_and_download_vocab
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 13f05785c25b4015641115467539c9ef389bcdc4
Time: 2020-11-02
Author: hessel.tuinhof@ibm.com
File Name: tests/estimators/speech_recognition/test_tensorflow_lingvo.py
Class Name: TestLingvoAsr
Method Name: test_load_model
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 13f05785c25b4015641115467539c9ef389bcdc4
Time: 2020-11-02
Author: hessel.tuinhof@ibm.com
File Name: tests/estimators/speech_recognition/test_tensorflow_lingvo.py
Class Name: TestLingvoAsr
Method Name: test_loss_gradient_tensor
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 13f05785c25b4015641115467539c9ef389bcdc4
Time: 2020-11-02
Author: hessel.tuinhof@ibm.com
File Name: tests/estimators/speech_recognition/test_tensorflow_lingvo.py
Class Name: TestLingvoAsr
Method Name: test_loss_gradient_per_sequence
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 13f05785c25b4015641115467539c9ef389bcdc4
Time: 2020-11-02
Author: hessel.tuinhof@ibm.com
File Name: tests/estimators/speech_recognition/test_tensorflow_lingvo.py
Class Name: TestLingvoAsr
Method Name: test_implements_abstract_methods
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 13f05785c25b4015641115467539c9ef389bcdc4
Time: 2020-11-02
Author: hessel.tuinhof@ibm.com
File Name: tests/estimators/speech_recognition/test_tensorflow_lingvo.py
Class Name: TestLingvoAsr
Method Name: test_predict_batch
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 13f05785c25b4015641115467539c9ef389bcdc4
Time: 2020-11-02
Author: hessel.tuinhof@ibm.com
File Name: tests/estimators/speech_recognition/test_tensorflow_lingvo.py
Class Name: TestLingvoAsr
Method Name: test_check_and_download_model
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 13f05785c25b4015641115467539c9ef389bcdc4
Time: 2020-11-02
Author: hessel.tuinhof@ibm.com
File Name: tests/estimators/speech_recognition/test_tensorflow_lingvo.py
Class Name: TestLingvoAsr
Method Name: test_create_decoder_input
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 13f05785c25b4015641115467539c9ef389bcdc4
Time: 2020-11-02
Author: hessel.tuinhof@ibm.com
File Name: tests/estimators/speech_recognition/test_tensorflow_lingvo.py
Class Name: TestLingvoAsr
Method Name: test_check_and_download_params