b91c0905bff8c1184286eb6ba3161a88ac2a0475,cleverhans/dataset.py,MNIST,__init__,#MNIST#Any#Any#Any#Any#Any#,43
Before Change
def __init__(self, train_start=0, train_end=60000, test_start=0,
test_end=10000, center=False):
self.kwargs = locals()
del self.kwargs["self"]
x_train, y_train, x_test, y_test = data_mnist(train_start=train_start,
train_end=train_end,
test_start=test_start,
test_end=test_end)
After Change
def __init__(self, train_start=0, train_end=60000, test_start=0,
test_end=10000, center=False):
super(MNIST, self).__init__(**locals())
self.kwargs = locals()
x_train, y_train, x_test, y_test = data_mnist(train_start=train_start,
train_end=train_end,
test_start=test_start,
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: tensorflow/cleverhans
Commit Name: b91c0905bff8c1184286eb6ba3161a88ac2a0475
Time: 2018-08-30
Author: goodfellow@google.com
File Name: cleverhans/dataset.py
Class Name: MNIST
Method Name: __init__
Project Name: tensorflow/cleverhans
Commit Name: b91c0905bff8c1184286eb6ba3161a88ac2a0475
Time: 2018-08-30
Author: goodfellow@google.com
File Name: cleverhans/dataset.py
Class Name: CIFAR10
Method Name: __init__
Project Name: eth-cscs/reframe
Commit Name: b817ad7232b542afd9fe258a85f7a059322dd8a1
Time: 2020-11-25
Author: karakasis@cscs.ch
File Name: reframe/utility/jsonext.py
Class Name: _ReframeJsonDecoder
Method Name: __init__
Project Name: ilastik/ilastik
Commit Name: a2ab3e4a6e4d816af13bee6df44d7d83f0ddad42
Time: 2019-03-01
Author: tomaz.vieira@embl.de
File Name: ilastik/workflows/objectClassification/objectClassificationWorkflow.py
Class Name: ObjectClassificationWorkflow
Method Name: __init__