def test_NCHW3(): with pytest.raises(ValueError): check_input_format("rt")
def test_NCHW1(): assert check_input_format("NCHW") == "NCHW"