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