2e7f747cdc99a5bc7e365b1b76edb4fdc26be4f1,pytorch/pytorchcv/models/others/oth_fractalnet_cifar10_2.py,FractalNet,forward,#FractalNet#Any#,207
Before Change
global_cols = np.random.randint(0, self.n_columns, size=[GB])
out = x
for layer in self.layers:
if isinstance(layer, FractalBlock):
out = layer(out, global_cols)
else:
out = layer(out)
return out
def oth_fractalnet_cifar10(pretrained=False, **kwargs):
After Change
global_cols = np.random.randint(0, self.n_columns, size=[GB])
x = self.features(x, global_cols=global_cols)
x = x.view(x.size(0), -1)
x = self.output(x)
return x
def oth_fractalnet_cifar10(pretrained=False, **kwargs):
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 4
Instances
Project Name: osmr/imgclsmob
Commit Name: 2e7f747cdc99a5bc7e365b1b76edb4fdc26be4f1
Time: 2019-02-26
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/others/oth_fractalnet_cifar10_2.py
Class Name: FractalNet
Method Name: forward
Project Name: maciejkula/spotlight
Commit Name: bc51dbc0c56f68ed30857755026633f78eef1ae8
Time: 2017-08-20
Author: maciej.kula@gmail.com
File Name: spotlight/layers.py
Class Name: BloomEmbedding
Method Name: forward
Project Name: cornellius-gp/gpytorch
Commit Name: c63cc933782e2de32c9fe74c18b337b2bbe0f242
Time: 2018-07-19
Author: jrg365@cornell.edu
File Name: test/examples/test_kissgp_variational_regression.py
Class Name: TestKissGPVariationalRegression
Method Name: test_kissgp_gp_mean_abs_error
Project Name: ecs-vlc/torchbearer
Commit Name: 4d0e2b25a3064079923e48729a0568bbae636d88
Time: 2019-06-26
Author: ethanwharris@gmail.com
File Name: torchbearer/callbacks/imaging/imaging.py
Class Name: ImagingCallback
Method Name: process
Project Name: SenticNet/conv-emotion
Commit Name: 87d57a3d34a1eef2c6ad5519741710e3321f136c
Time: 2019-03-19
Author: 40890991+soujanyaporia@users.noreply.github.com
File Name: DialogueRNN/model.py
Class Name: BiE2EModel
Method Name: forward