Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 145 for registry_ (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_targets_test.cc

    mlir::DialectRegistry GetDefaultDialectRegistry() {
      mlir::DialectRegistry registry;
    
      registry.insert<arith::ArithDialect>();
      registry.insert<func::FuncDialect>();
      registry.insert<tensor::TensorDialect>();
      registry.insert<shape::ShapeDialect>();
      registry.insert<TF::TensorFlowDialect>();
      registry.insert<chlo::ChloDialect>();
    
      return registry;
    }
    
    class XlaLegalizeTargetsTest : public testing::Test {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 05:56:39 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/cc/context.h

    // Creates an MLIRContext with the extensions required for quantization are
    // registered.
    inline std::unique_ptr<MLIRContext> CreateMlirContextForQuantization() {
      DialectRegistry registry{};
      func::registerAllExtensions(registry);
      return std::make_unique<MLIRContext>(registry);
    }
    
    }  // namespace mlir::quant::stablehlo
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 11 16:08:42 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. RELEASE.md

    ### TPU Enhancements
    
    *   Adds 3D mesh support in TPU configurations ops.
    *   Added TPU code for `FTRL` with `multiply_linear_by_lr`.
    *   Silently adds a new file system registry at `gstpu`.
    *   Support `restartType` in cloud tpu client.
    *   Depend on a specific version of google-api-python-client.
    *   Fixes apiclient import.
    
    ### Tracing and Debugging
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top