MCPcopy Create free account
hub / github.com/geekcomputers/Python / __init__

Method __init__

ML/src/python/neuralforge/data/transforms.py:49–50  ·  view source on GitHub ↗
(self, alpha: float = 1.0)

Source from the content-addressed store, hash-verified

47
48class RandomCutmix:
49 def __init__(self, alpha: float = 1.0):
50 self.alpha = alpha
51
52 def __call__(self, batch):
53 images, labels = batch

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected