Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 75 of 75 for registry_ (0.1 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.cc

    class GraphOptPass
        : public mlir::PassWrapper<GraphOptPass,
                                   mlir::OperationPass<mlir::ModuleOp>> {
      void getDependentDialects(mlir::DialectRegistry& registry) const override {
        mlir::RegisterAllTensorFlowDialects(registry);
      }
    
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(GraphOptPass)
    
      explicit GraphOptPass(std::vector<tensorflow::GraphOptimizationPass*> passes)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc

    // passes. Currently, per-channel quantization only supports 1D results.
    class PreprocessOpPass
        : public PassWrapper<PreprocessOpPass, OperationPass<ModuleOp>> {
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<TF::TensorFlowDialect, QuantizationDialect,
                        quantfork::QuantizationForkDialect>();
      }
    
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PreprocessOpPass)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc

        : public impl::ReduceWhileOperandsPassBase<ReduceWhileOperandsPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ReduceWhileOperandsPass)
    
      void getDependentDialects(DialectRegistry &registry) const override {
        registry.insert<TFL::TensorFlowLiteDialect, TF::TensorFlowDialect>();
      }
      void runOnOperation() override;
    };
    
    LogicalResult FindImplicityProducers(
        const std::vector<uint64_t> &explicitly_consumed_ids,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc

      StringRef getDescription() const final {
        return "Fallback TF-Quantization-unsupported ops to TFLite Flex ops.";
      }
    
      void getDependentDialects(DialectRegistry &registry) const override {
        registry.insert<TFL::TensorFlowLiteDialect>();
      }
    
     private:
      // The mode of TF Quantization, might indicate different users/devices.
      Option<std::string> mode_{*this, "mode",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        // It is a terrible idea to have local MLIR contexts so we need to
        // register extensions here, again.
        mlir::DialectRegistry registry;
        registry.insert<mlir::func::FuncDialect>();
        mlir::func::registerAllExtensions(registry);
        xla_call_module_context_.appendDialectRegistry(registry);
    
        auto l = tensorflow::XlaCallModuleLoader::Create(
            &xla_call_module_context_, op.getVersion(), op.getModule().str(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
Back to top