d1e6e624ef891543c5bba32bb0a696d350714693,coremltools/models/utils.py,,_convert_nn_spec_to_half_precision,#Any#,172

Before Change


            raise Exception("Half precision for " + layer_type +
                            " not yet implemented\n")
        else:
            raise Exception("Unknown layer " + layer_type)

    return spec

After Change



            if "WeightParams" in param_types:
                raise NotImplementedError("Quantization for layer "" + layer_type + "" not implemented.")
            continue  // print("Skipping layer {}. No need to quantize.".format(layer.name))

        // Convolution
        if layer_type == "convolution":
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: apple/coremltools
Commit Name: d1e6e624ef891543c5bba32bb0a696d350714693
Time: 2019-08-20
Author: smq@apple.com
File Name: coremltools/models/utils.py
Class Name:
Method Name: _convert_nn_spec_to_half_precision


Project Name: alfredfrancis/ai-chatbot-framework
Commit Name: 78a2ea22f5c1a3dabf162f1d662f4ab5ac236978
Time: 2016-07-03
Author: alfred.francis@pearldatadirect.com
File Name: ikyCore/intentClassifier.py
Class Name: IntentClassifier
Method Name: __init__


Project Name: broadinstitute/keras-rcnn
Commit Name: 575cf242e9185e5ddcb192b237107aee758fe5e4
Time: 2017-12-06
Author: jyhung@broadinstitute.org
File Name: keras_rcnn/preprocessing/_object_detection.py
Class Name: DictionaryIterator
Method Name: next