(self)
| 194 | return True |
| 195 | |
| 196 | def __repr__(self): |
| 197 | r = "TensorRTEngineModel(\n\tInput=[\n" |
| 198 | for name in self.input_names: |
| 199 | r += f"\t\t{name}: \t{trt.nptype(self.input_dtypes[name]).__name__}{self.input_shapes[name]},\n" |
| 200 | r += "\t],Output=[\n" |
| 201 | for name in self.output_names: |
| 202 | r += f"\t\t{name}: \t{trt.nptype(self.output_dtypes[name]).__name__}{self.output_shapes[name]},\n" |
| 203 | r+="\t]\n)" |
| 204 | return r |
| 205 | |
| 206 | def link(self, other, var_map, skip_check=SKIP_ENGINE_MODEL_CHECK): |
| 207 | assert self.device_int == other.device_int |
nothing calls this directly
no outgoing calls
no test coverage detected