PRelu

Input

  • x:
    • Required: yes
    • Type: int8, uint8, float16, float32
    • Description: activation function, y = weight min(x,0) + max(x,0)
    • Restriction: Must be of type float16.
  • weight:
    • Required: yes
    • Type: int8, uint8, float16, float32
    • Description: If weight is 1D, channel_shared==True. If weight is the same as the channel dimension, channel_shared==False.
    • Restriction: Support float16. Must be a vector or scalar of the channel dimension.

Output

y:
  • Required: yes
  • Type: int8, uint8, float16, float32
  • Description: none
  • Restriction: Must be of type float16.