MCPcopy Create free account
hub / github.com/SLDGroup/EMCAD / __init__

Method __init__

utils/dataset_synapse.py:30–31  ·  view source on GitHub ↗
(self, output_size)

Source from the content-addressed store, hash-verified

28
29class RandomGenerator(object):
30 def __init__(self, output_size):
31 self.output_size = output_size
32
33 def __call__(self, sample):
34 image, label = sample['image'], sample['label']

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected