enas icon indicating copy to clipboard operation
enas copied to clipboard

Difference between fixed and searched path in reduction cells?

Open karandwivedi42 opened this issue 6 years ago • 0 comments

In this code:

            if self.fixed_arc is None:
              x = self._factorized_reduction(x, out_filters, 2, is_training)
              layers = [layers[-1], x]      # <<<<<<< HERE
              x = self._enas_layer(
                layer_id, layers, self.reduce_arc, out_filters)
            else:
              x = self._fixed_layer(
                layer_id, layers, self.reduce_arc, out_filters, 2, is_training,
                normal_or_reduction_cell="reduction")

On line 3, this gives layers=layers[-1], _factorised_reduction(layers[-1])]. Doesn't this make this inconsistent with the fixed cell?

karandwivedi42 avatar May 23 '18 16:05 karandwivedi42