- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for PassRegistration (0.21 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc
::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) { 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 - 11.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc
failed(ApplyVhloToStablehloPatterns(module)) || failed(ApplyUnrealizedCastCanonicalization(module))) return signalPassFailure(); } }; static PassRegistration<LegalizeStablehloToVhloPass> pass_s2v; static PassRegistration<LegalizeVhloToStablehloPass> pass_v2s; } // namespace odml
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 19:48:51 UTC 2024 - 12.3K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc
custom_op.erase(); }); } std::unique_ptr<OperationPass<func::FuncOp>> CreateTflToStablehloPass() { return std::make_unique<TflToStablehloPass>(); } static PassRegistration<TflToStablehloPass> pass; } // namespace odml
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 24 06:08:43 UTC 2024 - 10.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/import_quant_stats_pass.cc
} } return llvm::StringRef(""); }; return CreateImportQuantStatsPass(get_name_func, stats_str); } // Registers this pass with default values, only for test static PassRegistration<ImportQuantStatsPass> pass([] { return CreateImportQuantStatsPassForTFControlDialect(quantize_stats); }); } // namespace quant
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/stablehlo/transforms/unfuse_batch_norm_pass.cc
return signalPassFailure(); } } }; std::unique_ptr<Pass> createUnfuseBatchNormPass() { return std::make_unique<UnfuseMhloBatchNormPass>(); } static PassRegistration<UnfuseMhloBatchNormPass> pass; } // namespace odml
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc
} op->emitRemark("Not supported quantization data type."); return failure(); } protected: tensorflow::quantization::QuantizationOptions quant_options_; }; static PassRegistration<QuantizeWeightsPass> pass; void QuantizeWeightsPass::runOnOperation() { MLIRContext* ctx = &getContext(); auto module_op = getOperation(); RewritePatternSet patterns(ctx);
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/tensorflow/passes/quantize.cc
class QuantizePass : public PassWrapper<QuantizePass, OperationPass<func::FuncOp>> { 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; } // Constructor used by manually creating the pass.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 23.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc
return signalPassFailure(); } } }; std::unique_ptr<Pass> createFoldBroadcastPass() { return std::make_unique<FoldBroadcastPass>(); } static PassRegistration<FoldBroadcastPass> pass; } // namespace odml
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/quantize.cc
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; } // Constructor used by manually creating the pass.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 13.3K bytes - Viewed (0)