Home
last modified time | relevance | path

Searched refs:conv2d (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Transforms/
H A DTosaDecomposeTransposeConv.cpp128 Value conv2d; in matchAndRewrite() local
130 conv2d = rewriter.create<tosa::Conv2DOp>( in matchAndRewrite()
135 conv2d = rewriter.create<tosa::Conv2DOp>( in matchAndRewrite()
141 rewriter.replaceOp(op, conv2d); in matchAndRewrite()
290 Value conv2d; in matchAndRewrite() local
292 conv2d = createOpAndInfer<tosa::Conv2DOp>( in matchAndRewrite()
301 conv2d = createOpAndInfer<tosa::Conv2DOp>( in matchAndRewrite()
311 ShapedType convTy = conv2d.getType().cast<ShapedType>(); in matchAndRewrite()
320 conv2d = createOpAndInfer<tosa::ReshapeOp>( in matchAndRewrite()
329 conv2d = createOpAndInfer<tosa::TransposeOp>( in matchAndRewrite()
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/Tosa/
H A Dinvalid.mlir6 %0 = "tosa.conv2d"(%arg0, %arg1, %arg2) {dilation = [1, 1], pad = [0, 0, 0, 0], stride = [1, 1]}
15 %0 = "tosa.conv2d"(%arg0, %arg1, %arg2) {dilation = [1, 1], pad = [0, 0, 0, 0], stride = [1, 1]}
24 %0 = "tosa.conv2d"(%arg0, %arg1, %arg2) {dilation = [1, 1], pad = [0, 0, 0, 0], stride = [1, 1]}
33 …// expected-error@+1 {{'tosa.conv2d' op quantizationattr is required for quantized type, and not a…
34 %0 = "tosa.conv2d"(%arg0, %arg1, %arg2) {dilation = [1, 1], pad = [0, 0, 0, 0], stride = [1, 1]}
H A Dtosa-decompose-conv2d.mlir7 // CHECK-NOT: "tosa.conv2d"
17 …%0 = "tosa.conv2d"(%arg0, %arg1, %arg2) {pad = [0, 0, 0, 0], stride = [1, 1], dilation = [1, 1]} :…
25 // CHECK-NOT: "tosa.conv2d"
36 …%0 = "tosa.conv2d"(%arg0, %arg1, %arg2) {pad = [0, 0, 0, 0], stride = [1, 1], dilation = [1, 1], q…
53 …%0 = "tosa.conv2d"(%arg0, %arg1, %arg2) {dilation = [1, 1], pad = [0, 0, 0, 0], quantization_info …
H A Dtosa-decompose-transpose-conv.mlir7 …// CHECK: "tosa.conv2d"(%arg0, %[[REV2]], %arg2) {dilation = [1, 1], pad = [2, 2, 5, 5], stride = …
19 …// CHECK: "tosa.conv2d"(%arg0, %[[REV2]], %arg2) {dilation = [1, 1], pad = [2, 2, 5, 5], quantizat…
30 …// CHECK: "tosa.conv2d"(%arg0, %[[REV2]], %arg2) {dilation = [1, 1], pad = [1, 1, 2, 2], quantizat…
56 …// CHECK-DAG: %[[CONV:.+]] = "tosa.conv2d"(%[[NEWINPUT]], %[[NEWWEIGHT]], %[[BIAS]]) {dilation = […
88 …// CHECK-DAG: %[[CONV:.+]] = "tosa.conv2d"(%[[NEWINPUT]], %[[NEWWEIGHT]], %[[BIAS]]) {dilation = […
H A Dquant-test.mlir14 // CHECK: tosa.conv2d
15 …%0 = "tosa.conv2d"(%arg0, %arg1, %arg2) {pad = [1, 1, 2, 2], dilation = [2, 1], stride = [1, 1], q…
H A Dcanonicalize.mlir106 // CHECK: "tosa.conv2d"
109 …%0 = "tosa.conv2d"(%arg0, %weight, %bias) {pad = [0, 0, 0, 0], stride = [2, 2], dilation = [1, 1]}…
115 // CHECK: "tosa.conv2d"
118 …%0 = "tosa.conv2d"(%arg0, %weight, %bias) {pad = [0, 0, 0, 0], stride = [1, 1], dilation = [1, 1]}…
H A Dtosa-infer-shapes.mlir690 …%0 = "tosa.conv2d"(%input, %weights, %bias) {pad = [0, 0, 0, 0], stride = [1, 1], dilation = [1, 1…
699 …%0 = "tosa.conv2d"(%input, %weights, %bias) {pad = [0, 0, 0, 0], stride = [1, 1], dilation = [1, 1…
732 …%0 = "tosa.conv2d"(%input, %weights, %bias) {pad = [0, 0, 0, 0], stride = [1, 1], dilation = [1, 1…
741 …%0 = "tosa.conv2d"(%input, %weights, %bias) {pad = [0, 0, 0, 0], stride = [1, 1], dilation = [1, 1…
762 …%0 = "tosa.conv2d"(%input, %weights, %bias) {pad = [1, 2, 3, 4], stride = [1, 1], dilation = [1, 1…
771 …%0 = "tosa.conv2d"(%input, %weights, %bias) {pad = [0, 0, 0, 0], stride = [1, 1], dilation = [3, 2…
780 …%0 = "tosa.conv2d"(%input, %weights, %bias) {pad = [0, 0, 0, 0], stride = [3, 2], dilation = [1, 1…
H A Dops.mlir41 // CHECK-LABEL: conv2d
43 …%0 = "tosa.conv2d"(%arg0, %arg1, %arg2) {dilation = [1, 1], pad = [0, 0, 0, 0], stride = [1, 1]} :…
/llvm-project-15.0.7/mlir/test/Integration/Dialect/SparseTensor/CPU/
H A Dsparse_filter_conv2d.mlir18 func.func @conv2d(%input: tensor<8x8xi32>,
53 %0 = call @conv2d(%input, %sparse_filter, %output)
/llvm-project-15.0.7/mlir/test/Conversion/TosaToLinalg/
H A Dtosa-to-linalg-named.mlir357 …%0 = "tosa.conv2d"(%input, %weights, %bias) {pad = [0, 0, 0, 0], stride = [1, 1], dilation = [2, 1…
380 …%0 = "tosa.conv2d"(%input, %weights, %bias) {pad = [0, 0, 0, 0], stride = [1, 1], dilation = [2, 1…
440 …%0 = "tosa.conv2d"(%input, %weights, %bias) {pad = [0, 0, 0, 0], stride = [1, 1], dilation = [2, 1…
452 …%0 = "tosa.conv2d"(%input, %weights, %bias) {pad = [1, 1, 1, 1], stride = [1, 1], dilation = [2, 1…
464 …%0 = "tosa.conv2d"(%arg0, %arg1, %arg2) {dilation = [1, 1], pad = [1, 1, 1, 1], quantization_info …
/llvm-project-15.0.7/mlir/test/Dialect/SparseTensor/
H A Dsparse_kernels.mlir154 // CHECK-LABEL: func @conv2d(
194 func.func @conv2d(%input: tensor<8x8xi32>,
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Tosa/IR/
H A DTosaOps.td89 // Operator: conv2d
91 def Tosa_Conv2DOp : Tosa_Op<"conv2d", [
/llvm-project-15.0.7/mlir/docs/Rationale/
H A DRationale.md661 func.func @conv2d(%input: memref<16x1024x1024x3xf32, #lm0, /*scratchpad=*/1>,