def Setup(self, bottom): super(PReLULayer, self).Setup(bottom) return ops.PRelu(bottom + [blob['data'] for blob in self._blobs], **self._param)
def LayerSetup(self, bottom): inputs = [bottom] + [blob['data'] for blob in self._blobs] return _ops.PRelu(inputs, **self.arguments)