- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID (0.57 sec)
-
tensorflow/compiler/mlir/lite/transforms/post_quantize.cc
#include "tensorflow/compiler/mlir/lite/transforms/passes.h.inc" // Applies all the clean up steps after quantization. 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; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc
registry.insert<TF::TensorFlowDialect, ::mlir::quant::QuantizationDialect, ::mlir::quantfork::QuantizationForkDialect>(); } public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PrepareQuantizeDRQPass) // Constructor used by the PassRegistration and enforce int8 quantization. // This is only used by test. explicit PrepareQuantizeDRQPass() : op_set_(OpSet::UNIFORM_QUANTIZED) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/import_quant_stats_pass.cc
namespace quant { using QuantParamsEntry = QuantizationInfo::QuantParams; namespace { class ImportQuantStatsPass : public PassWrapper<ImportQuantStatsPass, OperationPass<func::FuncOp>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ImportQuantStatsPass) explicit ImportQuantStatsPass(OperationToName op_to_name) : op_to_name_(op_to_name) {} StringRef getArgument() const final {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 10:41:08 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
void getDependentDialects(DialectRegistry& registry) const override { registry.insert<TF::TensorFlowDialect>(); } public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LiftTfliteFlexOpsPass) void runOnOperation() override { MLIRContext* context = &getContext(); func::FuncOp func = getOperation(); mlir::RewritePatternSet patterns(context);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc
namespace mlir { namespace quant { namespace { class QuantizeWeightsPass : public mlir::PassWrapper<QuantizeWeightsPass, OperationPass<ModuleOp>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(QuantizeWeightsPass) explicit QuantizeWeightsPass() : test_mode_(true) { initializeForTest(); } explicit QuantizeWeightsPass( const tensorflow::quantization::QuantizationOptions& quant_options)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 11.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc
// dynamic range quantization of `stablehlo.convolution` and // `stablehlo.dot_general`. class InsertWeightParamPass : public impl::InsertWeightParamPassBase<InsertWeightParamPass> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(InsertWeightParamPass) using impl::InsertWeightParamPassBase< InsertWeightParamPass>::InsertWeightParamPassBase; private: void runOnOperation() override; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_custom_aggregation_ops.cc
test_mode_ = other.test_mode_; test_case_ = other.test_case_; calib_opts_ = other.calib_opts_; initializeForTest(); } MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(InsertCustomAggregationOpsPass) StringRef getArgument() const final { // This is the argument used to refer to the pass in the textual format (on // the commandline for example).
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/quantize.cc
} private: bool legacy_float_scale_; }; // Applies quantization on the model in TFL dialect. struct QuantizePass : public impl::QuantizePassBase<QuantizePass> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(QuantizePass) // Constructor used by the PassRegistration and only used by test. explicit QuantizePass() { quant_specs.inference_type = tensorflow::DT_QINT8; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 13.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_save_function_ops_to_main.cc
class MergeSaveFunctionOpsToMainPass : public PassWrapper<MergeSaveFunctionOpsToMainPass, OperationPass<ModuleOp>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(MergeSaveFunctionOpsToMainPass) explicit MergeSaveFunctionOpsToMainPass() = default; StringRef getArgument() const override { return "quant-merge-save-function-ops-to-main"; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tensorlist.cc
// Only legalize TensorFlow TensorList ops if all TensorList ops are supported // natively. class LegalizeTensorListPass : public impl::LegalizeTensorListPassBase<LegalizeTensorListPass> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LegalizeTensorListPass) void runOnOperation() override { mlir::ModuleOp module = getOperation(); auto walk_res = module->walk([&](Operation* op) -> WalkResult {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 23:04:40 UTC 2024 - 10.6K bytes - Viewed (0)