예제 #1
0
파일: io_tests.py 프로젝트: s4sarath/CNTK
def test_sequence_conversion_dense(idx, alias_tensor_map, expected):
    assert sequence_to_cntk_text_format(idx, alias_tensor_map) == expected
예제 #2
0
파일: io_tests.py 프로젝트: Microsoft/CNTK
def test_sequence_conversion_dense(idx, alias_tensor_map, expected):
    assert sequence_to_cntk_text_format(idx, alias_tensor_map) == expected
예제 #3
0
파일: io_tests.py 프로젝트: s4sarath/CNTK
def test_sequence_conversion_exceptions(idx, alias_tensor_map, expected):
    with pytest.raises(expected):
        sequence_to_cntk_text_format(idx, alias_tensor_map)
예제 #4
0
파일: io_tests.py 프로젝트: Microsoft/CNTK
def test_sequence_conversion_exceptions(idx, alias_tensor_map, expected):
    with pytest.raises(expected):
        sequence_to_cntk_text_format(idx, alias_tensor_map)