Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for create_const_op (0.44 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        Value pi = create_const_op(M_PI);
        Value log_pi = create_const_op(std::log(M_PI));
        Value log_sqrt_two_pi = create_const_op((std::log(2) + std::log(M_PI)) / 2);
        Value lanczos_gamma_plus_one_half = create_const_op(kLanczosGamma + 0.5);
        Value log_lanczos_gamma_plus_one_half =
            create_const_op(std::log(kLanczosGamma + 0.5));
        Value base_lanczos_coeff = create_const_op(kBaseLanczosCoeff);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    // Nullary ops patterns.
    //===----------------------------------------------------------------------===//
    
    def createConstOp
      : NativeCodeCall<"$_builder.create<ConstOp>($_loc, $0.getType(), $1)">;
    
    def LegalizeTFConstToTFLConst: Pat<(TF_ConstOp:$res ElementsAttr:$value),
                                       (createConstOp $res, $value)>;
    
    // Convert to std constant for statically shaped, non-opaque constants.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top