Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for PassRegistration (0.35 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize_op_order.cc

    // Creates an instance of the TensorFlow Lite optimize op order pass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateOptimizeOpOrderPass() {
      return std::make_unique<OptimizeOpOrderPass>();
    }
    
    static PassRegistration<OptimizeOpOrderPass> pass;
    
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/transforms/cost_model.cc

      // Default quant/dequant/requant cost.
      return kDefaultFixedValuedCost;
    }
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateGetOpCostPass() {
      return std::make_unique<GetOpCostPass>();
    }
    
    static PassRegistration<GetOpCostPass> pass;
    
    }  // namespace tac
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/tflite_legalize_hlo.cc

    // Creates an instance of the pass.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeHloToTfLitePass() {
      return std::make_unique<LegalizeHloToTfLitePass>();
    }
    
    // Registers the pass implementation
    static PassRegistration<LegalizeHloToTfLitePass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/transforms/fold_constants_to_subgraph.cc

    std::unique_ptr<OperationPass<ModuleOp>> CreateFoldConstantsToSubgraphPass(
        bool fold_all_constants) {
      return std::make_unique<FoldConstantsToSubgraphPass>(fold_all_constants);
    }
    
    static PassRegistration<FoldConstantsToSubgraphPass> pass;
    
    }  // namespace tac
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_composite_to_tfl_custom.cc

          TFL::CustomOp tfl_custom_op =
              BuildCustomOp(composite, custom_option_buffer);
          composite->replaceAllUsesWith(tfl_custom_op);
          composite->erase();
        });
      }
    };
    
    static PassRegistration<LegalizeCompositeToCustomOpPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc

    // Creates an instance of the TensorFlow dialect to QuantOps dialect pass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateLegalizeTFToQuantPass() {
      return std::make_unique<LegalizeTFToQuant>();
    }
    
    static PassRegistration<LegalizeTFToQuant> pass([] {
      return CreateLegalizeTFToQuantPass();
    });
    
    }  // namespace TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/experimental/tac/transforms/tac_filter.cc

      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateTacFilterPass(
        TacFilters* tac_filters) {
      return std::make_unique<TacFilterPass>(tac_filters);
    }
    
    static PassRegistration<TacFilterPass> pass;
    
    }  // namespace tac
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc

    // Creates an instance of `AddQuantizationUnitLocPass`.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateAddQuantizationUnitLocPass() {
      return std::make_unique<AddQuantizationUnitLocPass>();
    }
    
    static PassRegistration<AddQuantizationUnitLocPass> pass;
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc

                        ::mlir::quantfork::QuantizationForkDialect>();
      }
    
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PrepareQuantizePass)
    
      // Constructor used by the PassRegistration and enforce uint8 quantization.
      // This is only used by test.
      explicit PrepareQuantizePass() {
        quant_specs_.inference_type = tensorflow::DT_QINT8;
      }
    
      // Constructor used by manually creating the pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize_layout.cc

      }
    }
    
    }  // end namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateTransposeCommuteOpsPass() {
      return std::make_unique<TransposeCommuteOpsPass>();
    }
    
    static PassRegistration<TransposeCommuteOpsPass> pass;
    
    }  // end namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top