Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
tianleiwu committed Oct 9, 2023
1 parent ff9fa23 commit 77ae622
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions onnxruntime/test/contrib_ops/bias_split_gelu_op_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,20 @@ TEST(BiasSplitGeluTest, BiasSplitGeluTest_HiddenSize_10240) {
RunBiasSplitGeluTest(batch_size, sequence_length, hidden_size);
}

TEST(BiasSplitGeluTest, BiasSplitGeluTest_HiddenSize_6144) {
constexpr int64_t batch_size = 2;
constexpr int64_t sequence_length = 3;
constexpr int64_t hidden_size = 6144;
RunBiasSplitGeluTest(batch_size, sequence_length, hidden_size);
}

TEST(BiasSplitGeluTest, BiasSplitGeluTest_HiddenSize_12288) {
constexpr int64_t batch_size = 1;
constexpr int64_t sequence_length = 2;
constexpr int64_t hidden_size = 12288;
RunBiasSplitGeluTest(batch_size, sequence_length, hidden_size);
}

#endif

} // namespace test
Expand Down

0 comments on commit 77ae622

Please sign in to comment.