Ejemplo n.º 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")
Ejemplo n.º 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")
Ejemplo n.º 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")
Ejemplo n.º 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")