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

Method __str__

tensorpack/dataflow/imgaug/base.py:118–123  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

116 return self.rng.uniform(low, high, size).astype("float32")
117
118 def __str__(self):
119 try:
120 return _default_repr(self)
121 except AssertionError as e:
122 log_once(e.args[0], 'warn')
123 return super(Augmentor, self).__repr__()
124
125 __repr__ = __str__
126

Callers

nothing calls this directly

Calls 3

_default_reprFunction · 0.85
log_onceFunction · 0.85
__repr__Method · 0.45

Tested by

no test coverage detected