Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 138 for registry_ (0.11 sec)

  1. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

      // Explicitly disable dumping Op details on failures.
      module.getContext()->printOpOnDiagnostic(false);
    
      mlir::DialectRegistry registry;
      mlir::func::registerAllExtensions(registry);
      module.getContext()->appendDialectRegistry(registry);
    
      mlir::StatusScopedDiagnosticHandler status_handler(module.getContext(),
                                                         /*propagate=*/true);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

     public:
      explicit TPUClusterFormationPass(bool strict_clusters)
          : strict_clusters_(strict_clusters) {}
    
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<mlir::tf_device::TensorFlowDeviceDialect>();
      }
    
      void runOnOperation() override;
    
     private:
      bool strict_clusters_;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

        // This is a brief description of the pass.
        return "Replace quantization candidates with composite functions into the "
               "module";
      }
    
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<TF::TensorFlowDialect>();
      }
    
      void runOnOperation() override;
    
     private:
      QuantizationOptions quant_options_;
      bool test_mode_;
      Option<OpSet> op_set_{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

        // This is a brief description of the pass.
        return "Quantize composite functions with QDQ input/outputs.";
      }
    
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<TF::TensorFlowDialect, quant::QuantizationDialect,
                        quantfork::QuantizationForkDialect>();
      }
    
     private:
      void runOnOperation() override;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top