Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
wejoncy committed Oct 19, 2024
1 parent fec9d5a commit 23c8ed5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions onnxruntime/test/contrib_ops/layer_norm_op_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -293,13 +293,13 @@ TYPED_TEST(LayerNormTest, LayerNorm17_opset) {
}
};
if (std::is_same<TypeParam, MLFloat16>::value) {
#if !definded(COREML_ENABLE_MLPROGRAM) && !defined(USE_CUDA)
return;
#if !defined(COREML_ENABLE_MLPROGRAM) && !defined(USE_CUDA)
return;
#endif
}

run_test(false);
#if definded(COREML_ENABLE_MLPROGRAM)
#if defined(COREML_ENABLE_MLPROGRAM)
// gamma as initialized will fail for CPUEP
run_test(true);
#endif
Expand Down

0 comments on commit 23c8ed5

Please sign in to comment.