MCPcopy Create free account
hub / github.com/MegEngine/MegCC / Model

Class Model

benchmark/python/src/models.py:17–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16
17class Model:
18 name = None
19 torch_model = None
20 input_shape = []
21
22 def __init__(self, name, torch_model, input_shape):
23 self.name = name
24 self.torch_model = torch_model
25 self.input_shape = input_shape
26
27
28class AllModel:

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected