Skip to content

Commit

Permalink
Accomodating PR comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
duli2012 committed Nov 27, 2018
1 parent e7e801b commit 0bb5cb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onnxruntime/test/contrib_ops/expand_dims_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace test {

TEST(ContribOpTest, ExpandDims_0) {
OpTester test("ExpandDims", 1, onnxruntime::kMSDomain);
test.AddShapeToTensorData(true); // TODO: re-enable shape inference test
test.AddShapeToTensorData(true);
test.AddInput<float>("X", {2, 3}, std::vector<float>(6, 1.0f));
test.AddInput<int32_t>("axis", {}, {-1});
test.AddOutput<float>("Y", {2, 3, 1}, std::vector<float>(6, 1.0f));
Expand All @@ -18,7 +18,7 @@ TEST(ContribOpTest, ExpandDims_0) {

TEST(ContribOpTest, ExpandDims_1) {
OpTester test("ExpandDims", 1, onnxruntime::kMSDomain);
test.AddShapeToTensorData(true); // TODO: re-enable shape inference test
test.AddShapeToTensorData(true);
test.AddInput<float>("X", {2, 3}, std::vector<float>(6, 1.0f));
test.AddInput<int32_t>("axis", {}, {1});
test.AddOutput<float>("Y", {2, 1, 3}, std::vector<float>(6, 1.0f));
Expand Down

0 comments on commit 0bb5cb7

Please sign in to comment.