60ac44f9e688577d47ae506be06058a8916af100,niftynet/engine/image_window.py,ImageWindow,_update_placeholders_dict,#ImageWindow#Any#,155

Before Change



        names = list(self.names)
        try:
            placeholders = [
                tf.placeholder(
                    dtype=self._dtypes[name],
                    shape=[self.n_samples] + list(self._shapes[name]),
                    name=name)
                for name in names]
        except TypeError:
            tf.logging.fatal(
                "shape should be defined as dict of iterable %s", self._shapes)
            raise

After Change


            for name in list(self.tf_dtypes):
                self._placeholders_dict[name] = tf.placeholder(
                    dtype=self.tf_dtypes[name],
                    shape=self.shapes[name],
                    name=name)
        except TypeError:
            tf.logging.fatal(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: NifTK/NiftyNet
Commit Name: 60ac44f9e688577d47ae506be06058a8916af100
Time: 2018-05-08
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/image_window.py
Class Name: ImageWindow
Method Name: _update_placeholders_dict


Project Name: tensorlayer/tensorlayer
Commit Name: 301f593e6d80712315ec965996cdccb9a20b54c0
Time: 2019-04-24
Author: rundi_wu@pku.edu.cn
File Name: examples/pretrained_cnn/tutorial_models_squeezenetv1.py
Class Name:
Method Name:


Project Name: tensorlayer/tensorlayer
Commit Name: 13ed139f539684bf39919963241bf37ab2967d77
Time: 2019-04-23
Author: rundi_wu@pku.edu.cn
File Name: examples/pretrained_cnn/tutorial_models_mobilenetv1.py
Class Name:
Method Name: