- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for _input_shapes (0.13 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
// Set dimension sizes specified by broadcast_dimensions. ArrayRef<int64_t> input_shape = mlir::cast<ShapedType>(input.getType()).getShape(); for (auto x : llvm::enumerate(broadcast_dimensions)) { expanded_shape[x.value().getSExtValue()] = rewriter.getI64IntegerAttr(input_shape[x.index()]); } // Create the expanded type wrapped in a arith::ConstantOp. auto attr_type =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir
%paddings = "tf.Const"() {value = dense<[[1, 2], [1, 2]]> : tensor<2x2xi64>} : () -> tensor<2x2xi64> // expected-error @+1 {{requires block_shape[i] divides input_shape[i + 1] + paddings[i, 0] + paddings[i, 1]; failed for i=1}} %1 = "tf.SpaceToBatchND"(%input, %block_shape, %paddings) : (tensor<3x5x7x10xf32>, tensor<2xi64>, tensor<2x2xi64>) -> tensor<36x2x3x10xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 23 14:40:35 UTC 2023 - 236.4K bytes - Viewed (0)