165756cc19a19db0e75c128ccc97eff3579af1c3,examples/nas/proxylessnas/ops.py,MobileInvertedResidualBlock,forward,#MobileInvertedResidualBlock#Any#,41
Before Change
def forward(self, x):
out, idx = self.mobile_inverted_conv(x)
// TODO: unify idx format
if not isinstance(idx, int):
idx = (idx == 1).nonzero()
if self.op_candidates_list[idx].is_zero_layer():
res = x
elif self.shortcut is None:
res = out
After Change
// is zero layer
return x
if self.shortcut is None:
return out
return out + self.shortcut(x)
class ShuffleLayer(nn.Module):
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 4
Instances Project Name: Microsoft/nni
Commit Name: 165756cc19a19db0e75c128ccc97eff3579af1c3
Time: 2020-12-05
Author: Yuge.Zhang@microsoft.com
File Name: examples/nas/proxylessnas/ops.py
Class Name: MobileInvertedResidualBlock
Method Name: forward
Project Name: brian-team/brian2
Commit Name: f8b5a82bde87721f9d5500c00e1505c8fd42f7b4
Time: 2018-08-28
Author: marcel.stimberg@inserm.fr
File Name: brian2/core/functions.py
Class Name:
Method Name: timestep
Project Name: theislab/scanpy
Commit Name: 23320c8733b232b72606dbcc7f79a0d51d3fcc39
Time: 2019-08-20
Author: flying-sheep@web.de
File Name: scanpy/preprocessing/_deprecated/highly_variable_genes.py
Class Name:
Method Name: filter_genes_fano_deprecated
Project Name: scipy/scipy
Commit Name: 62008ad8e0e399f2ea318c4057fdcc45749b14d1
Time: 2013-08-09
Author: blake.a.griffith@gmail.com
File Name: scipy/sparse/sputils.py
Class Name: IndexMixin
Method Name: _boolean_index_to_array
Project Name: theislab/scanpy
Commit Name: 23320c8733b232b72606dbcc7f79a0d51d3fcc39
Time: 2019-08-20
Author: flying-sheep@web.de
File Name: scanpy/preprocessing/_deprecated/highly_variable_genes.py
Class Name:
Method Name: filter_genes_cv_deprecated