Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for create_const_op (0.41 sec)

  1. 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