onnxruntime/test/providers/cpu/tensor/pad_test.cc
// Disable TensorRT on some of the tests because only constant mode and value 0 is supported for "Pad" node
Disable TensorRT on some of the tests because only constant mode and value 0 is supported for "Pad" node
Disable TensorRT on some of the tests because only constant mode and value 0 is supported for " Pad " node
TEST(TensorOpTest, Pad_Spec_Example) {
  OpTester test("Pad");
  test.AddAttribute("pads", std::vector<int64_t>{0, 2, 0, 0});
  test.AddAttribute("value", 0.0f);
  test.AddInput<float>("data", {3, 2}, {1.0f, 1.2f, 2.3f, 3.4f, 4.5f, 5.7f});
  test.AddOutput<float>("output", {3, 4}, {0.0f, 0.0f, 1.0f, 1.2f, 0.0f, 0.0f, 2.3f, 3.4f, 0.0f, 0.0f, 4.5f, 5.7f});
  test.Run(OpTester::ExpectResult::kExpectSuccess, "", {kTensorrtExecutionProvider});
}
TEST ( TensorOpTest , Pad_Spec_Example ) { OpTester test ( " " ) ; test . AddAttribute ( " " , std :: vector < int64_t > { 0 , 2 , 0 , 0 } ) ; test . AddAttribute ( " " , 0.0f ) ; test . AddInput < float > ( " " , { 3 , 2 } , { 1.0f , 1.2f , 2.3f , 3.4f , 4.5f , 5.7f } ) ; test . AddOutput < float > ( " " , { 3 , 4 } , { 0.0f , 0.0f , 1.0f , 1.2f , 0.0f , 0.0f , 2.3f , 3.4f , 0.0f , 0.0f , 4.5f , 5.7f } ) ; test . Run ( OpTester :: ExpectResult :: kExpectSuccess , " " , { kTensorrtExecutionProvider } ) ; }
Disable TensorRT on some of the tests because only constant mode and value 0 is supported for "Pad" node
Disable TensorRT on some of the tests because only constant mode and value 0 is supported for " Pad " node