b1dae602081efc6742f28134bdf0be6c87b9e918,tensorlayer/layers/core.py,Layer,__init__,#Layer#Any#Any#,383

Before Change


        elif isinstance(prev_layer, tf.Tensor):
            raise Exception("Please use InputLayer to convert Tensor/Placeholder to TL layer")
        elif prev_layer is not None:
            raise Exception("Unknown layer type %s" % type(prev_layer))

    def print_params(self, details=True, session=None):
        Print all info of parameters in the network
        for i, p in enumerate(self.all_params):

After Change


        elif prev_layer is not None:  // tl.models
            self.all_layers = list(prev_layer.all_layers)
            self.all_params = list(prev_layer.all_params)
            self.all_drop = dict(prev_layer.all_drop)
            // raise Exception("Unknown layer type %s" % type(prev_layer))

    def print_params(self, details=True, session=None):
        Print all info of parameters in the network
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: tensorlayer/tensorlayer
Commit Name: b1dae602081efc6742f28134bdf0be6c87b9e918
Time: 2018-03-26
Author: dhsig552@163.com
File Name: tensorlayer/layers/core.py
Class Name: Layer
Method Name: __init__


Project Name: dmlc/gluon-cv
Commit Name: 4b8716fd4bd6f462a9db9eee958f2508576ec019
Time: 2018-06-15
Author: cheungchih@gmail.com
File Name: gluoncv/utils/metrics/coco_detection.py
Class Name: COCODetectionMetric
Method Name: __init__


Project Name: NifTK/NiftyNet
Commit Name: 165207a79dafcf658f483d26ccffd9e982389dcc
Time: 2018-05-01
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/io/image_reader.py
Class Name: ImageReader
Method Name: initialise