MCPcopy Create free account
hub / github.com/imrahulr/hat / __init__

Method __init__

core/attacks/deepfool.py:166–172  ·  view source on GitHub ↗
(
            self, predict, overshoot=0.02, nb_iter=50, search_iter=50, clip_min=0., clip_max=1.)

Source from the content-addressed store, hash-verified

164 """
165
166 def __init__(
167 self, predict, overshoot=0.02, nb_iter=50, search_iter=50, clip_min=0., clip_max=1.):
168
169 ord = np.inf
170 super(LinfDeepFoolAttack, self).__init__(
171 predict=predict, overshoot=overshoot, nb_iter=nb_iter, search_iter=search_iter, clip_min=clip_min,
172 clip_max=clip_max, ord=ord)
173
174
175

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected