Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 112 for registry_ (0.31 sec)

  1. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

    using tensorflow::tracing::TracingOperation;
    using tensorflow::tracing::TracingTensorHandle;
    
    namespace {
    
    void RegisterDialects(mlir::MLIRContext& ctx) {
      mlir::DialectRegistry registry;
      mlir::RegisterAllTensorFlowDialects(registry);
      ctx.appendDialectRegistry(registry);
      ctx.loadAllAvailableDialects();
    }
    
    Status ConvertDataTypeToTensor(tensorflow::DataType dtype, Builder builder,
                                   Type* type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

    };
    
    class PrepareCompositeFunctionsPass
        : public impl::PrepareCompositeFunctionsPassBase<
              PrepareCompositeFunctionsPass> {
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<TFL::TensorFlowLiteDialect>();
      }
    
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PrepareCompositeFunctionsPass)
    
      explicit PrepareCompositeFunctionsPass() {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc

    // training quantization simpler.
    class PrepareQuantizePass
        : public PassWrapper<PrepareQuantizePass, OperationPass<func::FuncOp>> {
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<TF::TensorFlowDialect, ::mlir::quant::QuantizationDialect,
                        ::mlir::quantfork::QuantizationForkDialect>();
      }
    
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/breakup-islands.cc

    namespace {
    
    class BreakUpIslands : public TF::PerFunctionAggregateAnalysisConsumerPass<
                               BreakUpIslands, TF::SideEffectAnalysis> {
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<tf_executor::TensorFlowExecutorDialect>();
      }
    
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(BreakUpIslands)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

      //
      //  Arg  --> B  --> C  --> D --> Retval
      class Subgraph {
       public:
        // Creates a graph to build the subgraph in, if it doesn't already exist,
        // using the same op registry and versions as graph_in.
        Node* MakeNodeImage(const Graph* graph_in, Node* node);
    
        // Returns the graph the subgraph is being built in.
        Graph* GetGraph() const;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

    }
    
    void LoadImporterDialects(mlir::MLIRContext& context) {
      // Load dialects involved in the conversion
      mlir::DialectRegistry registry;
      mlir::RegisterAllTensorFlowDialectsImpl(registry, false);
      context.appendDialectRegistry(registry);
      for (llvm::StringRef name : registry.getDialectNames())
        context.getOrLoadDialect(name);
    }
    
    absl::StatusOr<std::string> GetDenseTensorNameFromTensorInfo(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

        }
      }
      return false;
    }
    
    struct EmbeddingPipeliningPass
        : public ::impl::EmbeddingPipeliningPassBase<EmbeddingPipeliningPass> {
      void getDependentDialects(mlir::DialectRegistry& registry) const override {
        registry.insert<TF::TensorFlowDialect>();
      }
    
      void runOnOperation() override;
    };
    
    bool UseEmbeddingPipelining(ModuleOp& module) {
      // Enable automated pipelining pass unless:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.cc

            *registry, InferSparseSegmentOpCost<mlir::TF::SparseSegmentMeanOp>);
        RegisterCostFunction<mlir::TF::SparseSegmentSqrtNOp>(
            *registry, InferSparseSegmentOpCost<mlir::TF::SparseSegmentSqrtNOp>);
        RegisterCostFunction<mlir::TF::LookupTableFindV2Op>(
            *registry, InferLookupTableFindV2Cost);
        return registry;
      }();
      return *registry;
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/python/mlir.cc

                                            TF_Status* status) {
      RegisterPasses();
      mlir::DialectRegistry registry;
      mlir::RegisterAllTensorFlowDialects(registry);
      mlir::stablehlo::registerAllDialects(registry);
      registry.insert<mlir::shape::ShapeDialect>();
      mlir::MLIRContext context(registry);
      mlir::OwningOpRef<mlir::ModuleOp> module;
      {
        mlir::StatusScopedDiagnosticHandler diagnostic_handler(&context);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top