MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / __add__

Method __add__

tensorpack/dataflow/imgaug/transform.py:302–304  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

300 return "imgaug.TransformList([\n{}])".format(repr_each_tfm)
301
302 def __add__(self, other):
303 other = other.tfms if isinstance(other, TransformList) else [other]
304 return TransformList(self.tfms + other)
305
306 def __iadd__(self, other):
307 other = other.tfms if isinstance(other, TransformList) else [other]

Callers

nothing calls this directly

Calls 1

TransformListClass · 0.85

Tested by

no test coverage detected