From 797fcc0e5cb1e5769f25845963f4c3fcdfa8c45d Mon Sep 17 00:00:00 2001 From: Michael Levesque-Dion Date: Thu, 18 Apr 2024 12:56:16 -0700 Subject: [PATCH] Use arrays for DynamicConv example --- stablehlo/dialect/StablehloOps.td | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stablehlo/dialect/StablehloOps.td b/stablehlo/dialect/StablehloOps.td index 2f5384b60d..701cfb7ae9 100644 --- a/stablehlo/dialect/StablehloOps.td +++ b/stablehlo/dialect/StablehloOps.td @@ -3467,10 +3467,10 @@ def StableHLO_DynamicConvOp : StableHLO_Op<"dynamic_conv", [Pure]> { Example: ```mlir %result = "stablehlo.dynamic_conv"(%lhs, %rhs, %d_padding) { - window_strides = dense<4> : tensor<2xi64>, - lhs_dilation = dense<2> : tensor<2xi64>, - rhs_dilation = dense<1> : tensor<2xi64>, - window_reversal = dense : tensor<2xi1>, + window_strides = array, + lhs_dilation = array, + rhs_dilation = array, + window_reversal = array, dimension_numbers = #stablehlo.conv<[b, 0, 1, f]x[0, 1, i, o]->[b, 0, 1, f]>, feature_group_count = 1 : i64, batch_group_count = 1 : i64,