Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 91 for registry_ (0.31 sec)

  1. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc

    }
    
    void RuntimeFallbackExecutor::Prepare(llvm::StringRef mlir_input) {
      // We only support IR written in the Tensorflow dialect.
      mlir::DialectRegistry registry;
      mlir::RegisterAllTensorFlowDialects(registry);
      mlir::MLIRContext context(registry);
    
      llvm::SourceMgr source_mgr;
      source_mgr.AddNewSourceBuffer(
          llvm::MemoryBuffer::getMemBuffer(mlir_input, "test_ir"), llvm::SMLoc());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/group_by_dialect.h

    namespace mlir {
    namespace TF {
    
    // Create a pass that groups ops into functions that only contain one dialect.
    std::unique_ptr<Pass> CreateGroupByDialectPass();
    
    // Register this pass in the global registry of MLIR.
    void RegisterGroupByDialectPass();
    
    }  // namespace TF
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 01 14:17:18 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/ops/README.md

    no arguments. This script will overwrite the existing ops in-place at
    ***tensorflow/c/experimental/ops/\*_ops.{cc,h}***.
    
    Run this `update_cpp_ops.sh` script when Op definitions change in the registry.
    
    To generate additional operators, extend the lists in this script. Note that
    category names correspond to generated source file names, and should be
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 28 17:21:01 UTC 2021
    - 993 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/backend_compiler.h

    #include "tensorflow/core/tfrt/runtime/runtime.h"
    
    namespace tensorflow {
    
    class BackendCompiler {
     public:
      virtual ~BackendCompiler();
    
      virtual void GetDependentDialects(mlir::DialectRegistry& registry) const {}
    
      // Compile the `module` in TF dialect. The result module should be also in TF
      // dialect.
      virtual absl::Status CompileTensorflow(
          tfrt_stub::ModelRuntimeContext& model_context,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 10 10:31:36 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf_mlir_reduce_main.cc

      tensorflow::InitMlir y(&argc, &argv);
    
      mlir::DialectRegistry registry;
      mlir::RegisterCommonToolingDialects(registry);
    
      registry.addExtension(
          +[](mlir::MLIRContext *ctx, mlir::TF::TensorFlowDialect *dialect) {
            dialect->addInterfaces<TFReductionPatternInterface>();
          });
    
      mlir::MLIRContext context(registry);
    
      return failed(mlirReduceMain(argc, argv, context));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 21 20:13:57 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/lower_variable_ops_to_ml_program.cc

        : public impl::LowerVariableOpsToMlProgramPassBase<
              LowerVariableOpsToMlProgramPass> {
      explicit LowerVariableOpsToMlProgramPass() = default;
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<mlir::tf_saved_model::TensorFlowSavedModelDialect,
                        ml_program::MLProgramDialect>();
      }
      void runOnOperation() override {
        auto module = getOperation();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 23:53:00 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/mark_for_compilation_pass_test_helper.h

                                       FunctionLibraryDefinition* flib_def,
                                       Options options = Options());
    
      // Like `MarkForCompilation` but creates `flib_def` from the op registry.
      static Status MarkForCompilation(std::unique_ptr<Graph>* graph,
                                       Options options = Options());
    };
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 09 19:51:48 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/odml_converter_main.cc

      mlir::DialectRegistry registry;
      registry.insert<mlir::func::FuncDialect, mlir::stablehlo::StablehloDialect,
                      mlir::TFL::TFLDialect, mlir::arith::ArithDialect,
                      mlir::TF::TensorFlowDialect, mlir::chlo::ChloDialect>();
    
      return failed(
          mlir::MlirOptMain(argc, argv, "ODML Converter Driver\n", registry));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:05:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_custom_aggregation_op_to_quant_stats.cc

        // This is a brief description of the pass.
        return "Convert tf.CustomAggregator op to quant.Stats";
      }
    
      void getDependentDialects(DialectRegistry &registry) const override {
        registry.insert<TF::TensorFlowDialect>();
        registry.insert<quant::QuantizationDialect>();
        registry.insert<quantfork::QuantizationForkDialect>();
      }
    
      void runOnOperation() override;
    };
    
    class ConvertCustomAggregationOpToQuantStats
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top