Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID (0.49 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc

    // not be converted to variables.
    class UnfreezeConstantsPass
        : public PassWrapper<UnfreezeConstantsPass, OperationPass<ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(UnfreezeConstantsPass)
    
      explicit UnfreezeConstantsPass()
          : UnfreezeConstantsPass(kDefaultConstantSizeThresholdInBytes) {}
    
      explicit UnfreezeConstantsPass(const int64_t size_threshold_in_bytes)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 16 15:04:53 UTC 2023
    - 14K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/passes/decompose.cc

    }
    
    // Decompose the TF ops with the registered composition library.
    class DecomposeTFOpsPass
        : public PassWrapper<DecomposeTFOpsPass, OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(DecomposeTFOpsPass)
    
      explicit DecomposeTFOpsPass(std::optional<ModuleOp> external_tfr_module)
          : external_tfr_module_(external_tfr_module) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

                                            b_map, dim_metadata);
    
      return compressed_data;
    }
    
    struct DenseToSparsePass
        : public impl::DenseToSparsePassBase<DenseToSparsePass> {
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(DenseToSparsePass)
    
      void runOnOperation() override;
    };
    
    void DenseToSparsePass::runOnOperation() {
      func::FuncOp func = getOperation();
      OpBuilder builder(func);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc

    class MergeInitializerFunctionOpsToMainPass
        : public PassWrapper<MergeInitializerFunctionOpsToMainPass,
                             OperationPass<ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(
          MergeInitializerFunctionOpsToMainPass)
    
      explicit MergeInitializerFunctionOpsToMainPass() = default;
    
      StringRef getArgument() const override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:54:52 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

    class LiftQuantizableSpotsAsFunctionsPass
        : public PassWrapper<LiftQuantizableSpotsAsFunctionsPass,
                             OperationPass<ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(
          LiftQuantizableSpotsAsFunctionsPass)
    
      LiftQuantizableSpotsAsFunctionsPass() : test_mode_(true) {
        initializeForTest();
      }
    
      explicit LiftQuantizableSpotsAsFunctionsPass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

    class DuplicateShapeDeterminingConstantsPass
        : public PassWrapper<DuplicateShapeDeterminingConstantsPass,
                             OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(
          DuplicateShapeDeterminingConstantsPass)
    
      StringRef getArgument() const final {
        return "quant-duplicate-shape-determining-constants";
      }
    
      StringRef getDescription() const final {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

    // suffix like `@main_0` to avoid conflict with the newly created main function.
    class InsertMainFunctionPass
        : public PassWrapper<InsertMainFunctionPass, OperationPass<ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(InsertMainFunctionPass)
    
      explicit InsertMainFunctionPass() = default;
    
      StringRef getArgument() const override {
        return "quant-insert-main-function";
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/prepare_quantize.cc

    // training quantization simpler.
    class PrepareQuantizePass
        : public impl::PrepareQuantizePassBase<PrepareQuantizePass> {
     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() : use_quantization_flags_(true) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc

    // applicable.
    class PrepareDynamicRangeQuantizePass
        : public impl::PrepareDynamicRangeQuantizePassBase<
              PrepareDynamicRangeQuantizePass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PrepareDynamicRangeQuantizePass)
    
      // Constructor used by the PassRegistration. This is only used by test.
      explicit PrepareDynamicRangeQuantizePass() {
        quant_specs_.inference_type = tensorflow::DT_QINT8;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

              PrepareCompositeFunctionsPass> {
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<TFL::TensorFlowLiteDialect>();
      }
    
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PrepareCompositeFunctionsPass)
    
      explicit PrepareCompositeFunctionsPass() {}
    
     private:
      // TODO(b/160915525): Consolidate FuncAttr and StringAttr into one.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top