Example #1
0
 def setUp(self):
     """Setup method."""
     super(PartiallyConvertedTestB, self).setUp()
     # Let it fail to build the first engine.
     trt_convert.clear_test_values("")
     trt_convert.add_test_value("my_trt_op_0:CreateTRTNode", "fail")
Example #2
0
 def setUp(self):
   """Setup method."""
   super(PartiallyConvertedTestB, self).setUp()
   # Let it fail to build the first engine.
   trt_convert.clear_test_values("")
   trt_convert.add_test_value("TRTEngineOp_0:CreateTRTNode", "fail")
Example #3
0
 def setUp(self):
     """Setup method."""
     super(PartiallyConvertedTestA, self).setUp()
     # Let it fail to build the second engine.
     trt_convert.add_test_value("my_trt_op_1:CreateTRTNode", "fail")
Example #4
0
 def setUp(self):
   """Setup method."""
   super(PartiallyConvertedTestA, self).setUp()
   # Let it fail to build the second engine.
   trt_convert.add_test_value("TRTEngineOp_1:CreateTRTNode", "fail")