Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for registry_ (0.18 sec)

  1. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

                             << ", FallbackEnabled: " << num_passes_fallback_enabled
                             << ", Total: " << registry_->passes().size();
      }
    
      GraphDebugInfo debug_info;
      mlir::DialectRegistry registry;
      RegisterDialects(registry);
      mlir::MLIRContext context(registry);
      GraphImportConfig import_config;
      import_config.graph_as_function = true;
      import_config.control_outputs = *control_ret_node_names;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/tools/stablehlo_quant_opt.cc

                      mlir::tf_executor::TensorFlowExecutorDialect,
                      mlir::vhlo::VhloDialect>();
      mlir::mhlo::registerAllMhloDialects(registry);
      mlir::func::registerAllExtensions(registry);
      return failed(
          mlir::MlirOptMain(argc, argv, "StableHLO quant Pass Driver\n", registry));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 07:37:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_registration.cc

    }
    
    static TranslateFromMLIRRegistration mlir_to_graph_translate(
        /*name=*/"mlir-to-graph", /*description=*/"convert mlir to graph",
        MlirToGraphTranslateFunction, [](DialectRegistry& registry) {
          mlir::RegisterAllTensorFlowDialects(registry);
        });
    
    static LogicalResult MlirToGraphdefTranslateFunction(
        ModuleOp module, llvm::raw_ostream& output) {
      if (!module) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // shape assignment in shape_inference.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateReplicateTensorListInitOpsPass();
    
    // Performs Shape Inference on the TensorFlow dialect using the global registry.
    std::unique_ptr<OperationPass<ModuleOp>> CreateTFShapeInferencePass(
        ArrayRef<ArrayRef<int64_t>> input_shapes = {});
    
    // Performs TF.data optimizations.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter_test.cc

      func.return %3 : tensor<2x1xf32>
    })";
      const std::string kExpectedFB = CreateRuntimeMetadata();
      mlir::DialectRegistry registry;
      registry.insert<mlir::TFL::TensorFlowLiteDialect, mlir::arith::ArithDialect,
                      mlir::func::FuncDialect>();
      mlir::MLIRContext context(registry);
      auto module = mlir::OwningOpRef<mlir::ModuleOp>(
          mlir::parseSourceString<mlir::ModuleOp>(kMLIR, &context));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/utils/utils.cc

      }
    
      if (input_mlir) {
        mlir::DialectRegistry registry;
        registry.insert<mlir::TFL::TensorFlowLiteDialect, mlir::arith::ArithDialect,
                        mlir::func::FuncDialect>();
        mlir::func::registerAllExtensions(registry);
        context->appendDialectRegistry(registry);
        source_mgr->AddNewSourceBuffer(std::move(buffer), llvm::SMLoc());
        return mlir::OwningOpRef<mlir::ModuleOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 03:47:03 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.cc

      for (const auto& entry : denylisted_ops) {
        denylisted_mlir_op_names.insert(TfLiteToMlir(entry));
      }
    
      DialectRegistry registry;
      registry.insert<mlir::TFL::TensorFlowLiteDialect>();
      MLIRContext context(registry);
      StatusScopedDiagnosticHandler statusHandler(&context,
                                                  /*propagate=*/true);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/python/converter_python_api.cc

              PyExc_ValueError,
              "Failed to parse opdefs at index %d of custom op defs argument: %s",
              i, tf_opdefs);
          return nullptr;
        }
    
        // Register extra opdefs to TensorFlow global op registry.
        tensorflow::OpRegistry::Global()->Register(
            [opdef](
                tensorflow::OpRegistrationData* op_reg_data) -> tensorflow::Status {
              *op_reg_data = tensorflow::OpRegistrationData(opdef);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      let description = [{
        Fixed point shape refinement pass that utilizes the shape functions
        registered on ops using the InferTypeOpInterface as well as by bridging to
        the TensorFlow op registry's shape functions. This is an interprocedural
        pass that propagates information across function calls/control flow
        operations where possible (the GuaranteeAllFuncsOneUsePass is often run
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
Back to top