Skip to content

Commit

Permalink
Change the values for dynamic shape (#2762)
Browse files Browse the repository at this point in the history
Co-authored-by: Megan Hampton <hamptonm@us.ibm.com>
  • Loading branch information
hamptonm1 and MegoHam21 authored Mar 19, 2024
1 parent 2cc3f15 commit a4f8191
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions test/backend/inference_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,41 +436,35 @@ def get_test_models():
# ==LIM== CastLike only between float and double types. Only ppc64le and MacOS platforms support float16.
"test_castlike_FLOAT_to_DOUBLE_cpu": {
STATIC_SHAPE: {},
# Issue #2639: Dynamic test fails. Need to be fixed.
# DYNAMIC_SHAPE: {-1: {-1}},
DYNAMIC_SHAPE: {0: {2}},
CONSTANT_INPUT: {-1},
},
"test_castlike_DOUBLE_to_FLOAT_cpu": {
STATIC_SHAPE: {},
# Issue #2639: Dynamic test fails. Need to be fixed.
# DYNAMIC_SHAPE: {-1: {-1}},
DYNAMIC_SHAPE: {0: {2}},
CONSTANT_INPUT: {-1},
},
"test_castlike_FLOAT_to_FLOAT16_cpu": {
STATIC_SHAPE: {},
# Issue #2639: Dynamic test fails. Need to be fixed.
# DYNAMIC_SHAPE: {-1: {-1}},
DYNAMIC_SHAPE: {0: {2}},
CONSTANT_INPUT: {-1},
FLOAT16: {},
},
"test_castlike_FLOAT16_to_FLOAT_cpu": {
STATIC_SHAPE: {},
# Issue #2639: Dynamic test fails. Need to be fixed.
# DYNAMIC_SHAPE: {-1: {-1}},
DYNAMIC_SHAPE: {0: {2}},
CONSTANT_INPUT: {-1},
FLOAT16: {},
},
"test_castlike_FLOAT16_to_DOUBLE_cpu": {
STATIC_SHAPE: {},
# Issue #2639: Dynamic test fails. Need to be fixed.
# DYNAMIC_SHAPE: {-1: {-1}},
DYNAMIC_SHAPE: {0: {2}},
CONSTANT_INPUT: {-1},
FLOAT16: {},
},
"test_castlike_DOUBLE_to_FLOAT16_cpu": {
STATIC_SHAPE: {},
# Issue #2639: Dynamic test fails. Need to be fixed.
# DYNAMIC_SHAPE: {-1: {-1}},
DYNAMIC_SHAPE: {0: {2}},
CONSTANT_INPUT: {-1},
FLOAT16: {},
},
Expand Down

0 comments on commit a4f8191

Please sign in to comment.