MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / get_mixin

Method get_mixin

SwissArmyTransformer/sat/model/base_model.py:130–131  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

128 self.collect_hooks_()
129
130 def get_mixin(self, name):
131 return self.mixins[name]
132
133 def forward(self, *args, **kwargs):
134 # update hooks as the current model (overrided forwards)

Callers 13

init_functionFunction · 0.80
transform_param.pyFile · 0.80
transform_weightFunction · 0.80
init_functionFunction · 0.80
init_functionFunction · 0.80
init_functionFunction · 0.80
transform_weightFunction · 0.80
inference_yolos.pyFile · 0.80
transform_param.pyFile · 0.80
init_functionFunction · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected