Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsTypeLegalizedWithMlir (0.25 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc

      TF_ASSERT_OK_AND_ASSIGN(FuncOp main, GetMain());
    
      main.walk([&](Operation* op) { EXPECT_FALSE(IsOpLegalizedWithMlir(*op)); });
    }
    
    TEST_F(LegalizationOpConfigTest, ExpectsTrueForMlirTypeID) {
      EXPECT_TRUE(IsTypeLegalizedWithMlir(TypeID::get<TF::ModOp>()));
      EXPECT_FALSE(HasTf2XlaFallback(TypeID::get<TF::ModOp>()));
      EXPECT_FALSE(IsOpAllowedTf2xlaFallback(TypeID::get<TF::ModOp>()));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 30 03:31:01 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config.h

    // Returns false if it is legalized with an old TF2XLA Kernel.
    bool IsOpLegalizedWithMlir(Operation& op);
    
    // Given the type ID, check if it's legalized with MLIR.
    bool IsTypeLegalizedWithMlir(const TypeID& type_id);
    
    // Returns true if the op is considered a dynamic padder op.
    bool IsDynamicPadderOp(const TypeID& type_id);
    
    // Returns True if this op has a Tf2XLA fallback. Currently, this is not the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 20:53:25 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top