Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for dynamic_iota (0.11 sec)

  1. 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)
  2. 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)
Back to top