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

Method __init__

core/attacks/deepfool.py:188–194  ·  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

186 """
187
188 def __init__(
189 self, predict, overshoot=0.02, nb_iter=50, search_iter=50, clip_min=0., clip_max=1.):
190
191 ord = 2
192 super(L2DeepFoolAttack, self).__init__(
193 predict=predict, overshoot=overshoot, nb_iter=nb_iter, search_iter=search_iter, clip_min=clip_min,
194 clip_max=clip_max, ord=ord)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected