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

Method _init

tensorpack/dataflow/imgaug/base.py:86–90  ·  view source on GitHub ↗
(self, params=None)

Source from the content-addressed store, hash-verified

84 after_in_child=lambda: _reset_augmentor_after_fork(weakref.ref(self)))
85
86 def _init(self, params=None):
87 if params:
88 for k, v in params.items():
89 if k != 'self' and not k.startswith('_'):
90 setattr(self, k, v)
91
92 def reset_state(self):
93 """

Callers 15

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by 2

__init__Method · 0.36
__init__Method · 0.36