prelu modify

update-doc-pybind
zchen0211 8 years ago
parent 58b5b08bba
commit 260026fa67

@ -16,3 +16,6 @@
REGISTER_OP_GPU_KERNEL(
prelu, paddle::operators::PreluKernel<paddle::platform::GPUPlace, float>);
REGISTER_OP_GPU_KERNEL(
prelu_grad,
paddle::operators::PreluGradKernel<paddle::platform::GPUPlace, float>);

@ -3,7 +3,7 @@ import numpy as np
from op_test import OpTest
class ScaleTest(OpTest):
class PreluTest(OpTest):
def setUp(self):
self.op_type = "prelu"
self.inputs = {'X': np.random.random((10, 10)).astype("float32")}

Loading…
Cancel
Save