ef86d2e73e7ce03c4184a04a336d96caf661269a,sonnet/python/modules/conv.py,Conv1DTranspose,_build,#Conv1DTranspose#Any#,1292

Before Change


                              partitioner=self._partitioners.get("w", None),
                              regularizer=self._regularizers.get("w", None))

    tf_out_shape = ((batch_size, 1,) + self._output_shape +
                    (self.output_channels,))

    // Add an extra dimension to the input - a height of 1.

After Change


    batch_size_value = inputs.get_shape()[0]
    output_shape_value = ((batch_size_value,) + self.output_shape +
                          (self.output_channels,))
    outputs.set_shape(output_shape_value)
    return outputs

  @property
  def output_channels(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: deepmind/sonnet
Commit Name: ef86d2e73e7ce03c4184a04a336d96caf661269a
Time: 2017-07-03
Author: noreply@google.com
File Name: sonnet/python/modules/conv.py
Class Name: Conv1DTranspose
Method Name: _build


Project Name: tryolabs/luminoth
Commit Name: 0cbd6479c533344201a3a1d631c61f4edc5bdddb
Time: 2018-03-20
Author: joaquin.alori@gmail.com
File Name: luminoth/models/ssd/ssd.py
Class Name: SSD
Method Name: _build


Project Name: NifTK/NiftyNet
Commit Name: ac2a794577087259da7200eefc792dbba40f8600
Time: 2017-11-02
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/contrib/sampler_pairwise/sampler_pairwise.py
Class Name: PairwiseSampler
Method Name: layer_op