7606e71b0781df931d9b4291022e2f695d23ea86,pixyz/flows/operations.py,ReverseLayer,__init__,#ReverseLayer#Any#,207
Before Change
class ReverseLayer(PermutationLayer):
def __init__(self, in_channels):
permute_indices = np.array(np.arange(0, in_channels)[::-1])
super().__init__(permute_indices)
After Change
class Shuffle(Permutation):
def __init__(self, in_channels):
permute_indices = np.random.permutation(in_channels)
super().__init__(permute_indices)
class Reverse(Permutation):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: masa-su/pixyz
Commit Name: 7606e71b0781df931d9b4291022e2f695d23ea86
Time: 2019-05-11
Author: masa@weblab.t.u-tokyo.ac.jp
File Name: pixyz/flows/operations.py
Class Name: ReverseLayer
Method Name: __init__
Project Name: snorkel-team/snorkel
Commit Name: 6bc80c246f8e9a2f5c941beac21c780e228fe6eb
Time: 2018-05-04
Author: stephenhbach@gmail.com
File Name: snorkel/learning/pytorch/noise_aware_model.py
Class Name: TorchNoiseAwareModel
Method Name: train
Project Name: dpressel/mead-baseline
Commit Name: b156eba3ba09229a10692cffdc26bb8604b9f651
Time: 2020-06-08
Author: dpressel@gmail.com
File Name: api-examples/transformer_utils.py
Class Name: MultiFileLoader
Method Name: __iter__