- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for dynamic_iota (0.21 sec)
-
tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization_test.cc
CreateModule(kNonStaticFailure); auto result = Run(); EXPECT_TRUE(result.failed()); EXPECT_EQ(legal_error.Delta("mhlo.dynamic_iota"), 0); EXPECT_EQ(static_error.Delta("mhlo.dynamic_iota"), 1); } TEST_F(VerifyTfxlaLegalizationTest, SkipsSpecificNonStaticInputs) { // Using a string constant here instead of testdata to make this compatible // with open source.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/verify-tfxla-legalization.mlir
%1 = mhlo.convert %0 : (tensor<f64>) -> tensor<i64> %2 = mhlo.reshape %1 : (tensor<i64>) -> tensor<1xi64> // expected-error @+1 {{Node `mhlo.dynamic_iota` must have compile-time constant}} %3 = "mhlo.dynamic_iota"(%2) <{iota_dimension = 0 : i64}> : (tensor<1xi64>) -> tensor<?xi32> %4 = mhlo.multiply %3, %3 : tensor<?xi32> return %4 : tensor<?xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir
// CHECK-NEXT: %[[INDEX_INIT:.*]] = mhlo.constant dense<0> : tensor<i32> // CHECK: %[[SHAPE:.*]] = shape.shape_of %arg0 : tensor<3x7xi64> -> tensor<2xindex> // CHECK: %[[INDEX:.*]] = "mhlo.dynamic_iota"(%[[SHAPE]]) <{iota_dimension = 0 : i64}> : (tensor<2xindex>) -> tensor<3x7xi32> // CHECK: %[[REDUCE:.*]]:2 = mhlo.reduce(%arg0 init: %[[INIT]]), (%[[INDEX]] init: %[[INDEX_INIT]])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 335.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 07:26:59 UTC 2024 - 340.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
return success(); } }; // Converts RangeOp for cases with the length is a dynamic value. The shape of // the resulting tensor computed, then the start and delta is used with the // dynamic_iota value to compute the final range value. // // For example, the resulting range op value: // %range = "tf.range"(%start, %limit, %delta) // // Is converted to the following.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0)