Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 66 for PassRegistration (0.27 sec)

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

    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateUnfreezeConstantsPass() {
      return std::make_unique<UnfreezeConstantsPass>();
    }
    
    static PassRegistration<UnfreezeConstantsPass> pass([] {
      return CreateUnfreezeConstantsPass();
    });
    
    }  // namespace quant
    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/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc

    std::unique_ptr<OperationPass<ModuleOp>>
    CreateMergeInitializerFunctionOpsToMainPass() {
      return std::make_unique<MergeInitializerFunctionOpsToMainPass>();
    }
    
    // Registers MergeInitializerFunctionOpsToMainPass.
    static PassRegistration<MergeInitializerFunctionOpsToMainPass> pass([] {
      return CreateMergeInitializerFunctionOpsToMainPass();
    });
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:54:52 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

            op->print(log_stream);
            VLOG(2) << log_message;
          }
        });
      }
    
      const QuantizationOptions& quant_options_;
    };
    
    static PassRegistration<LiftQuantizableSpotsAsFunctionsPass> pass;
    
    #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.inc"
    
    void LiftQuantizableSpotsAsFunctionsPass::runOnOperation() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/passes/decompose.cc

    std::unique_ptr<OperationPass<func::FuncOp>> CreateDecomposeTFOpsPass(
        std::optional<ModuleOp> tfr_module) {
      return std::make_unique<DecomposeTFOpsPass>(tfr_module);
    }
    
    static PassRegistration<DecomposeTFOpsPass> pass([] {
      return CreateDecomposeTFOpsPass();
    });
    
    }  // namespace TFR
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

          // $dim_index
          CompileTimeConstantOperand<TF::XlaSetDynamicDimensionSizeOp, 1>
          // go/keep-sorted end
          >(func_op);
    }
    
    static PassRegistration<DuplicateShapeDeterminingConstantsPass> pass{};
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateDuplicateShapeDeterminingConstantsPass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

    class PostQuantizePass : public impl::PostQuantizePassBase<PostQuantizePass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PostQuantizePass)
    
      // Constructor used by the PassRegistration. This will remove the adaptor ops.
      explicit PostQuantizePass() { this->emit_quant_adaptor_ops_ = false; }
    
      // Constructor used by manually creating the pass.
      explicit PostQuantizePass(bool emit_quant_adaptor_ops,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

        signalPassFailure();
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateInsertMainFunctionPass() {
      return std::make_unique<InsertMainFunctionPass>();
    }
    
    static PassRegistration<InsertMainFunctionPass> pass([] {
      return CreateInsertMainFunctionPass();
    });
    
    }  // namespace quant
    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

    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) {}
    
      // 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.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc

        : 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;
        quant_specs_.weight_quantization = true;
    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/tfr/passes/raise_to_tf.cc

        std::optional<ModuleOp> tfr_module, bool materialize_derived_attrs) {
      return std::make_unique<RaiseToTFOpsPass>(tfr_module,
                                                materialize_derived_attrs);
    }
    
    static PassRegistration<RaiseToTFOpsPass> pass([] {
      return CreateRaiseToTFOpsPass();
    });
    
    }  // namespace TFR
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top