838473cfb15599030b0e777b9a9901e22409a9b1,nlp_architect/models/chunker.py,SequenceChunker,load,#SequenceChunker#Any#,171
Before Change
Args:
filepath (str): file name of model
self.model = load_model(filepath)
After Change
model_data = pickle.load(fp)
topology = model_data["model_topology"]
self.build(topology["vocabulary_size"],
topology["num_pos_labels"],
topology["num_chunk_labels"],
topology["feature_size"],
topology["dropout"],
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: NervanaSystems/nlp-architect
Commit Name: 838473cfb15599030b0e777b9a9901e22409a9b1
Time: 2018-07-11
Author: peter.izsak@intel.com
File Name: nlp_architect/models/chunker.py
Class Name: SequenceChunker
Method Name: load
Project Name: ellisdg/3DUnetCNN
Commit Name: 17e0377eec348971c87f5e30d132f092ffdeef0b
Time: 2017-05-19
Author: david.ellis@unmc.edu
File Name: unet3d/training.py
Class Name:
Method Name: load_old_model
Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: e9e42aee59e3fc515d8826c5b785c5585cf3d633
Time: 2016-05-30
Author: bodo.rueckauer@gmail.com
File Name: snntoolbox/core/pipeline.py
Class Name:
Method Name: test_full