d6c1b86594ef9a97e9f503547ab6567f89508486,tests/integration_tests/test_experiment.py,,test_experiment_attention,#Any#,253
Before Change
// Machine translation with attention
input_features = "[{name: english, type: sequence, vocab_size: 10," \
" max_len: 10, encoder: rnn, cell_type: lstm} ]"
output_features = Template("[{name: spanish, type: sequence,"
" vocab_size: 10, max_len: 10,"
" decoder: generator, cell_type: lstm,"
" attention: ${attention}}] ")
// Generate test data
rel_path = generate_data(
input_features,
After Change
def test_experiment_attention(csv_filename):
// Machine translation with attention
input_features = [
sequence_feature(encoder="rnn", cell_type="lstm", max_len=10)
]
output_features = [
sequence_feature(
max_len=10,
cell_type="lstm",
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: uber/ludwig
Commit Name: d6c1b86594ef9a97e9f503547ab6567f89508486
Time: 2019-05-01
Author: smiryala@uber.com
File Name: tests/integration_tests/test_experiment.py
Class Name:
Method Name: test_experiment_attention
Project Name: uber/ludwig
Commit Name: d6c1b86594ef9a97e9f503547ab6567f89508486
Time: 2019-05-01
Author: smiryala@uber.com
File Name: tests/integration_tests/test_experiment.py
Class Name:
Method Name: test_visual_question_answering
Project Name: uber/ludwig
Commit Name: d6c1b86594ef9a97e9f503547ab6567f89508486
Time: 2019-05-01
Author: smiryala@uber.com
File Name: tests/integration_tests/test_api.py
Class Name:
Method Name: test_api_intent_classification