7ce790e41e3ca9abbf058fc084083d22373ff9f8,nn.py,,int_shape,#Any#,12
Before Change
def int_shape(x):
s = x.get_shape()
return [int(si) for si in s]
def log_sum_exp(x):
axis = len(x.get_shape())-1
After Change
import scopes
def int_shape(x):
return list(map(int, x.get_shape()))
def log_sum_exp(x):
axis = len(x.get_shape())-1
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 7
Instances
Project Name: openai/pixel-cnn
Commit Name: 7ce790e41e3ca9abbf058fc084083d22373ff9f8
Time: 2016-11-01
Author: andrej.karpathy@gmail.com
File Name: nn.py
Class Name:
Method Name: int_shape
Project Name: deepmipt/DeepPavlov
Commit Name: 1971fe48ebbc3415ab9bff92609de79002975d4e
Time: 2017-12-29
Author: ol.gure@gmail.com
File Name: deeppavlov/models/classifiers/intents/intent_model.py
Class Name: KerasIntentModel
Method Name: dcnn_model
Project Name: p2irc/deepplantphenomics
Commit Name: 2c34a47f683dedb310f1c92be66870163cf80302
Time: 2019-10-10
Author: dbl599@mail.usask.ca
File Name: deepplantphenomics/heatmap_object_counting_model.py
Class Name: HeatmapObjectCountingModel
Method Name: load_heatmap_dataset_with_csv_from_directory
Project Name: deepmipt/DeepPavlov
Commit Name: 1971fe48ebbc3415ab9bff92609de79002975d4e
Time: 2017-12-29
Author: ol.gure@gmail.com
File Name: deeppavlov/models/classifiers/intents/intent_model.py
Class Name: KerasIntentModel
Method Name: cnn_model