"test/torchaudio_unittest/models/models_test.py" did not exist on "1f136671b84071a2fe1d5b762df64f3a76310c31"
CMakeLists.txt 905 Bytes
Newer Older
1
add_custom_target(test_normalization)
rocking5566's avatar
rocking5566 committed
2

rocking5566's avatar
rocking5566 committed
3
4
5
add_gtest_executable(test_layernorm2d_fp32 test_layernorm2d_fp32.cpp)
add_gtest_executable(test_layernorm2d_fp16 test_layernorm2d_fp16.cpp)
add_gtest_executable(test_groupnorm_fp16 test_groupnorm_fp16.cpp)
6
add_gtest_executable(test_groupnorm_fp32 test_groupnorm_fp32.cpp)
7

8
9
target_link_libraries(test_layernorm2d_fp32 PRIVATE utility device_normalization_instance)
target_link_libraries(test_layernorm2d_fp16 PRIVATE utility device_normalization_instance)
rocking5566's avatar
rocking5566 committed
10
11
12
target_link_libraries(test_groupnorm_fp16 PRIVATE utility device_normalization_instance)
target_link_libraries(test_groupnorm_fp32 PRIVATE utility device_normalization_instance)

13
14
15
16
add_dependencies(test_normalization test_layernorm2d_fp32)
add_dependencies(test_normalization test_layernorm2d_fp16)
add_dependencies(test_normalization test_groupnorm_fp16)
add_dependencies(test_normalization test_groupnorm_fp32)