MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / __init__

Method __init__

imperative/python/megengine/module/vision.py:460–465  ·  view source on GitHub ↗
(self, alpha, per_channel=False, seed=None)

Source from the content-addressed store, hash-verified

458 """
459
460 def __init__(self, alpha, per_channel=False, seed=None):
461 super().__init__()
462 self.alpha = alpha
463 self.seed = seed
464 self.per_channel = per_channel
465 self.rng_func = RNG(seed).uniform
466
467 def _get_parameter(self, param, size):
468 if isinstance(param, bool):

Callers

nothing calls this directly

Calls 2

RNGClass · 0.50
__init__Method · 0.45

Tested by

no test coverage detected