def set_output(self): self._output = tensor.ones_like(self._prev_layer.output) - self._prev_layer.output