d86f0ef86868899b112ac61e598a3333fac66ad2,deeppavlov/skills/hcn_new/network.py,HybridCodeNetworkModel,__init__,#HybridCodeNetworkModel#,29

Before Change


            print("Loading network from `{}`".format(self.model_path_.parent))
            self.load()
        else:
            print("Initializing network from scratch")
            self.sess.run(tf.global_variables_initializer())

        self.reset_state()

After Change


        ser_path = self.opt.get("ser_path", None)
        ser_dir = self.opt.get("ser_dir", "hcn_rnn")
        ser_file = self.opt.get("ser_file", "model")
        train_now = self.opt.get("train_now", False)

        super().__init__(ser_path=ser_path,
                         ser_dir=ser_dir,
                         ser_file=ser_file,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: deepmipt/DeepPavlov
Commit Name: d86f0ef86868899b112ac61e598a3333fac66ad2
Time: 2018-01-24
Author: arkhipov@yahoo.com
File Name: deeppavlov/skills/hcn_new/network.py
Class Name: HybridCodeNetworkModel
Method Name: __init__


Project Name: NVIDIA/OpenSeq2Seq
Commit Name: 7a0fbeeff3240a7c663440eaadab0bfd1b96ffeb
Time: 2018-07-18
Author: jasoli@nvidia.com
File Name: open_seq2seq/decoders/tacotron2_decoder.py
Class Name: Tacotron2Decoder
Method Name: _decode


Project Name: dmlc/gluon-cv
Commit Name: 92816c9b9fa67b63a5638fd50e012e28f76bb4d9
Time: 2019-11-26
Author: pedro.larroy.lists@gmail.com
File Name: gluoncv/model_zoo/model_store.py
Class Name:
Method Name: get_model_file