Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for RegisterCommonToolingDialects (0.69 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils_test.cc

          "tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/testdata/");
    }
    
    class TpuMetadataUtilsTest : public ::testing::Test {
     public:
      TpuMetadataUtilsTest() {
        mlir::RegisterCommonToolingDialects(registry_);
        context_.appendDialectRegistry(registry_);
        context_.loadAllAvailableDialects();
      }
    
      absl::StatusOr<std::vector<mlir::tf_device::ClusterFuncOp>> GetClusterFuncOps(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 12 04:22:33 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf_mlir_opt_main.cc

      tensorflow::tfrt_compiler::RegisterTPULowerClusterToRuntimeOpsPassPipeline();
      tensorflow::tfrt_compiler::
          RegisterNonTPULowerClusterToRuntimeOpsPassPipeline();
    
      mlir::DialectRegistry registry;
      mlir::RegisterCommonToolingDialects(registry);
    
      return failed(
          mlir::MlirOptMain(argc, argv, "TensorFlow pass driver\n", registry));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc

                                   std::vector<TensorShape>& arg_shapes,
                                   tpu::TPUCompileMetadataProto& metadata_proto) {
      mlir::DialectRegistry registry;
      mlir::RegisterCommonToolingDialects(registry);
      mlir::MLIRContext context(registry);
      mlir::OwningOpRef<mlir::ModuleOp> mlir_module;
    
      TF_RETURN_IF_ERROR(
          DeserializeMlirModule(mlir_module_str, &context, &mlir_module));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/utils/bfloat16_type_test.cc

    namespace mlir::quant::stablehlo {
    namespace {
    
    std::unique_ptr<MLIRContext> CreateContext() {
      auto context = std::make_unique<MLIRContext>();
      DialectRegistry mlir_registry;
      RegisterCommonToolingDialects(mlir_registry);
      context->appendDialectRegistry(mlir_registry);
      return context;
    }
    
    TEST(IsLargeFloatTypeTest, scalars) {
      auto context = CreateContext();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 19 23:51:52 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types_test.cc

        "/tensorflow/core/tf2xla/tf_quant_op_count";
    
    class LegalizeTfTypesTest : public Test {
     protected:
      void CreateModule(const char* module_string) {
        DialectRegistry mlir_registry;
        RegisterCommonToolingDialects(mlir_registry);
        context_.appendDialectRegistry(mlir_registry);
        TF_ASSERT_OK(
            tensorflow::DeserializeMlirModule(module_string, &context_, &module_));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 09:05:02 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf_test.cc

        "/tensorflow/core/tf_mlir_bridge_first_phase_v2_count";
    
    class FunctionClusterTensorflowDialectTest : public ::testing::Test {
     public:
      FunctionClusterTensorflowDialectTest() {
        mlir::RegisterCommonToolingDialects(registry_);
        context_.appendDialectRegistry(registry_);
        context_.loadAllAvailableDialects();
      }
    
      absl::Status CreateMlirModule(std::string mlir_module_filename) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops_test.cc

        "/tensorflow/core/tf_mlir_bridge_first_phase_v2_count";
    
    class LowerClusterToRuntimeOpsTest : public ::testing::Test {
     public:
      LowerClusterToRuntimeOpsTest() {
        mlir::RegisterCommonToolingDialects(registry_);
        context_.appendDialectRegistry(registry_);
        context_.loadAllAvailableDialects();
    
        env_ = Env::Default();
        test_group_name_ = "TestGroup";
        test_dir_ = testing::TmpDir();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/utils/tf_type_utils_test.cc

      return ::tensorflow::mangling_util::MangleTensor(tensor_proto);
    }
    
    std::unique_ptr<MLIRContext> CreateContext() {
      auto context = std::make_unique<MLIRContext>();
      DialectRegistry mlir_registry;
      RegisterCommonToolingDialects(mlir_registry);
      context->appendDialectRegistry(mlir_registry);
      context->getOrLoadDialect<tf_type::TFTypeDialect>();
      context->getOrLoadDialect<quant::QuantizationDialect>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top