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

Method __init__

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

Source from the content-addressed store, hash-verified

93
94class MixUp:
95 def __init__(self, alpha: float = 1.0, num_classes: int = 1000):
96 self.alpha = alpha
97 self.num_classes = num_classes
98
99 def __call__(self, images, labels):
100 batch_size = images.size(0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected