Versioned name: HardSwishBackprop-1

Category: Activation

Short description: HardSwishBackprop computes gradient for HardSwish.


  • 1: input_forward - input of forward. Required.

    • Type: T

  • 2: output_delta - gradients tensor with respect to the output. Required.

    • Type: T


  • 1: input_delta - the gradient tensor with respect to the input of HardSwish.

    • Type: T


  • T: f32, f16, bf16.

  • Note: Inputs and outputs have the same data type denoted by T. For example, if input is f32 tensor, then all other tensors have f32 data type.