- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for cst0 (0.13 sec)
-
tensorflow/compiler/mlir/lite/tests/ops.mlir
// ----- // CHECK-LABEL: testDilate func.func @testDilate(%arg0: tensor<3x4x5xf32>) -> tensor<5x7x9xf32> { // CHECK: "tfl.dilate"(%arg0, %cst, %cst_0) %cst = arith.constant dense<1> : tensor<3xi32> %cst_0 = arith.constant dense<-1.0> : tensor<f32> %0 = "tfl.dilate"(%arg0, %cst, %cst_0) : (tensor<3x4x5xf32>, tensor<3xi32>, tensor<f32>) -> tensor<5x7x9xf32> func.return %0 : tensor<5x7x9xf32> // CHECK: return %0 : tensor<5x7x9xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 189.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 23 17:24:10 UTC 2024 - 167.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir
func.return %0 : tensor<40x40xf32> // CHECK-LABEL: matmul // CHECK: %[[CST:.*]] = arith.constant dense<[1, 0]> : tensor<2xi32> // CHECK: %[[ARG:.*]] = "tfl.transpose"(%arg1, %[[CST]]) : (tensor<37x40xf32>, tensor<2xi32>) -> tensor<40x37xf32> // CHECK: %[[CST_0:.*]] = "tfl.no_value"() <{value}> : () -> none
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 05 01:54:33 UTC 2024 - 153.4K bytes - Viewed (0) -
src/net/http/transport_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
// Only fuse multiplier if all dimensions other than the depth dimension // are equal to 1 since otherwise // `matmul(x, filter) * cst != matmul(x, filter * cst)` // even if `filter` and `cst` are be broadcastable. auto shape = cst.getType().getShape(); if (!IsDimensionsDegenerateExceptLastOne(shape)) return failure(); int64_t element_size = shape.empty() ? 1 : shape[shape.size() - 1];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir
%cst = "tf.Const"() {value = dense<0> : tensor<4x2xi32>} : () -> tensor<4x2xi32> %cst_0 = "tf.Const"() {value = dense<[2, 2, 1, 1]> : tensor<4xi32>} : () -> tensor<4xi32> %cst_1 = "tf.Const"() {value = dense<[2, 3, 1, 1]> : tensor<4xi32>} : () -> tensor<4xi32> // expected-error @+1 {{'tf.XlaSelectAndScatter' op has no select function specified}}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 23 14:40:35 UTC 2023 - 236.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
ElementsAttr attr; if (auto cst = dyn_cast<mlir::arith::ConstantOp>(inst)) { // arith::ConstantOp have ElementAttr at this point due to validation of the // TFLite module. attr = mlir::cast<ElementsAttr>(cst.getValue()); } else if (auto cst = dyn_cast<mlir::TF::ConstOp>(inst)) { attr = cst.getValue(); } else if (auto cst = dyn_cast<tfl::ConstOp>(inst)) { attr = cst.getValue();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 132.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir
} // CHECK-LABEL: transpose // CHECK-SAME: %[[ARG0:.+]]: tensor<2x3x4x!quant.uniform<i8:f32, 2.000000e+00:-1>> // CHECK-NOT: stablehlo.transpose // CHECK: %[[CST:.+]] = arith.constant dense<[2, 1, 0]> : tensor<3xi32> // CHECK: %[[TRANSPOSE:.+]] = "tfl.transpose"(%[[ARG0]], %[[CST]]) : (tensor<2x3x4x!quant.uniform<i8:f32, 2.000000e+00:-1>>, tensor<3xi32>) -> tensor<4x3x2x!quant.uniform<i8:f32, 2.000000e+00:-1>> // CHECK: return %[[TRANSPOSE]]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 106.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
// considered dynamic so use -1 here if k is not a constant value. int const_k = -1; ElementsAttr cst; if (matchPattern(k, m_Constant(&cst))) // These casts should all be valid due to how Tensor constants are stored. // TODO(jpienaar): This should use a helper function. const_k = cst.getValues<IntegerAttr>()[0].getValue().getSExtValue(); auto val_type = input.getType().cast<TensorType>();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0)