Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GeluApproximate (0.32 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

    // Fusing raw computation of GELU op into one native tfl_gelu op.
    //
    // Requires constants to be exact match and only one use of all of the
    // intermediate results.
    //
    // For GeluApproximate, replaces
    //   0.5 * x * ( 1 + tanh( sqrt_2dPi  * ( x + 0.044715 * pow( x, 3 ) ) ) )
    def MatchGeluApproximate : Pat<
      (TFL_MulOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
Back to top