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

Class NoOpTransform

tensorpack/dataflow/imgaug/transform.py:211–218  ·  view source on GitHub ↗

A Transform that does nothing.

Source from the content-addressed store, hash-verified

209
210
211class NoOpTransform(Transform):
212 """
213 A Transform that does nothing.
214 """
215 def __getattr__(self, name):
216 if name.startswith("apply_"):
217 return lambda x: x
218 raise AttributeError("NoOpTransform object has no attribute {}".format(name))
219
220
221class PhotometricTransform(Transform):

Callers 4

get_transformMethod · 0.85
get_transformMethod · 0.85
get_transformMethod · 0.85
get_transformMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…