1971fe48ebbc3415ab9bff92609de79002975d4e,deeppavlov/models/classifiers/intents/intent_model.py,KerasIntentModel,dcnn_model,#KerasIntentModel#Any#,237

Before Change


                                            self.opt["kernel_sizes_cnn"].split(" ")]

        if type(self.opt["filters_cnn"]) is str:
            self.opt["filters_cnn"] = [int(x) for x in
                                       self.opt["filters_cnn"].split(" ")]

        inp = Input(shape=(params["text_size"], params["embedding_size"]))

        output = inp

After Change


            self.opt["kernel_sizes_cnn"] = list(map(int, self.opt["kernel_sizes_cnn"].split()))

        if type(self.opt["filters_cnn"]) is str:
            self.opt["filters_cnn"] = list(map(int, self.opt["filters_cnn"].split()))

        inp = Input(shape=(params["text_size"], params["embedding_size"]))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


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: 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


Project Name: uber/ludwig
Commit Name: 4a4f7cabe2baef71318784bf7c95aa8a669cc83f
Time: 2020-05-11
Author: piero@uber.com
File Name: ludwig/features/h3_feature.py
Class Name: H3BaseFeature
Method Name: add_feature_data