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

Method __init__

ML/src/python/neuralforge/data/augmentation.py:116–118  ·  view source on GitHub ↗
(self, alpha: float = 1.0, num_classes: int = 1000)

Source from the content-addressed store, hash-verified

114
115class CutMix:
116 def __init__(self, alpha: float = 1.0, num_classes: int = 1000):
117 self.alpha = alpha
118 self.num_classes = num_classes
119
120 def __call__(self, images, labels):
121 batch_size = images.size(0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected