MCPcopy Create free account
hub / github.com/NVIDIA/DALI / __init__

Method __init__

dali/test/python/operator_2/test_reduce.py:100–105  ·  view source on GitHub ↗
(self, data_type)

Source from the content-addressed store, hash-verified

98
99class Batch3DOverflow(Batch3D):
100 def __init__(self, data_type):
101 super().__init__(data_type)
102
103 for batch in self._data:
104 for sample in batch:
105 sample[...] = (sample.astype(np.int64) * 100000).astype(sample.dtype)
106
107
108class Batch3DNegativeAxes(Batch3D):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected