Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/test_TFNetworkRecLayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2104,7 +2104,8 @@ def test_target_with_beam():
}
}, "target": teacher_target, "max_seq_len": "max_len_from('base:teacher_encoder') * 3", "trainable": False},

# the teacher's decision layer is actually not used, since the hypotheses data is fetched from the teacher's choice layer (or teacher_output)...
# the teacher's decision layer is actually not used,
# since the hypotheses data is fetched from the teacher's choice layer (or teacher_output)...
"teacher_decision": {
"class": "decide", "from": ["teacher_output"], "loss": "edit_distance", "target": teacher_target,
"loss_opts": {},
Expand Down Expand Up @@ -2173,6 +2174,7 @@ def test_target_with_beam():
config = Config({
"debug_print_layer_output_template": True,
"debug_print_layer_output_shape": True,
"debug_runtime_sanity_checks": True,
})

with make_scope() as session:
Expand Down Expand Up @@ -6351,6 +6353,7 @@ def test_cumulated_attention_weights_search():
"extern_data": {"data": {"dim": n_out, "sparse": True}, "classes": {"dim": n_out, "sparse": True}},
"search_output_layer": "decision",
"debug_print_layer_output_shape": True,
"debug_runtime_sanity_checks": True,
"debug_print_layer_output_template": True})

# Try different permutations of the cum_att_energy inputs, previously these behaved differently
Expand Down