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