Skip to content

Commit

Permalink
Merge pull request #989 from anant90/master
Browse files Browse the repository at this point in the history
Make all_convolutional picklable
  • Loading branch information
npapernot committed Feb 21, 2019
2 parents 16902ce + fb804af commit 36c5e32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cleverhans/model_zoo/all_convolutional.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
import tensorflow as tf

from cleverhans import initializers
from cleverhans.model import Model
from cleverhans.serial import NoRefModel


class ModelAllConvolutional(Model):
class ModelAllConvolutional(NoRefModel):
def __init__(self, scope, nb_classes, nb_filters, input_shape, **kwargs):
del kwargs
Model.__init__(self, scope, nb_classes, locals())
NoRefModel.__init__(self, scope, nb_classes, locals())
self.nb_filters = nb_filters
self.input_shape = input_shape

Expand Down

0 comments on commit 36c5e32

Please sign in to comment.