Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CreateConstOpWithSingleValue (0.17 sec)

  1. tensorflow/compiler/mlir/lite/utils/constant_utils.cc

      return rewriter->create<arith::ConstantOp>(loc, dense_type,
                                                 cast<TypedAttr>(*attr));
    }
    
    absl::StatusOr<arith::ConstantOp> CreateConstOpWithSingleValue(
        PatternRewriter* rewriter, Location loc, ShapedType shaped_type,
        int value) {
      ShapedType scalar_type =
          RankedTensorType::get({}, shaped_type.getElementType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top