bcf38b02cc7209d1baccd1302b5224f5faf2f00a,plugins/train/model/_base.py,_Inference,_make_inference_model,#_Inference#Any#,1454

Before Change


        struct = self._get_filtered_structure()
        required_layers = self._get_required_layers(struct)
        logger.debug("Compiling model")
        layer_dict = {layer.name: layer for layer in saved_model.layers}
        compiled_layers = dict()
        for name, inbound in struct.items():
            if name not in required_layers:

After Change


        
        logger.debug("Compiling inference model. saved_model: %s", saved_model)
        struct = self._get_filtered_structure()
        model_inputs = self._get_inputs(saved_model.inputs)
        compiled_layers = dict()
        for layer in saved_model.layers:
            if layer.name not in struct:
                logger.debug("Skipping unused layer: "%s"", layer.name)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: deepfakes/faceswap
Commit Name: bcf38b02cc7209d1baccd1302b5224f5faf2f00a
Time: 2021-01-31
Author: 36920800+torzdf@users.noreply.github.com
File Name: plugins/train/model/_base.py
Class Name: _Inference
Method Name: _make_inference_model


Project Name: NTMC-Community/MatchZoo
Commit Name: 80c47cb00363fd8bef153eb55436b3b0e4294ba9
Time: 2018-12-01
Author: i@uduse.com
File Name: matchzoo/models/naive_model.py
Class Name: NaiveModel
Method Name: build


Project Name: NTMC-Community/MatchZoo
Commit Name: 80c47cb00363fd8bef153eb55436b3b0e4294ba9
Time: 2018-12-01
Author: i@uduse.com
File Name: matchzoo/models/dense_baseline_model.py
Class Name: DenseBaselineModel
Method Name: build