Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.
Open
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
10 changes: 4 additions & 6 deletions bindings/python/cntk/tests/onnx_op_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,8 @@ def test_AveragePool(tmpdir, dtype, device_id):
#AveragePool
@pytest.mark.parametrize("dtype", DType_Config)
def test_AveragePoolWithSequenceAxis(tmpdir, dtype, device_id):
if dtype == np.float16:
# CI reporting "FP16 convolution is only supported via cuDNN." on GPU with float16 data
pytest.skip('Test is skipped with float16 data')
if device_id == -1 and dtype == np.float16:
pytest.skip('Test is skipped on CPU with float16 data')
device = cntk_device(device_id)
with C.default_options(dtype=dtype):
img = np.reshape(np.arange(16, dtype = dtype), [1, 4, 4])
Expand Down Expand Up @@ -1343,9 +1342,8 @@ def test_MaxPool(tmpdir, dtype, device_id):
#MaxPool
@pytest.mark.parametrize("dtype", DType_Config)
def test_MaxPoolWithSequenceAxis(tmpdir, dtype, device_id):
if dtype == np.float16:
# CI reporting "FP16 convolution is only supported via cuDNN." on GPU with float16 data
pytest.skip('Test is skipped with float16 data')
if device_id == -1 and dtype == np.float16:
pytest.skip('Test is skipped on CPU with float16 data')
device = cntk_device(device_id)
with C.default_options(dtype=dtype):
img = np.reshape(np.arange(16, dtype = dtype), [1, 4, 4])
Expand Down