- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 121 for MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID (0.63 sec)
-
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/lite/stablehlo/odml_converter/transforms/outline_composites.cc
rewriter.eraseOp(rhs_mul); return success(); } }; class OutlineCompositesPass : public impl::OutlineCompositesPassBase<OutlineCompositesPass> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(OutlineCompositesPass) void runOnOperation() override { auto func = getOperation(); RewritePatternSet patterns(&getContext()); patterns.add<OutlineGELU>(&getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 9.6K 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/lite/transforms/default_quant_params.cc
bool is_signed) { this->default_min_ = default_min; this->default_max_ = default_max; this->is_signed_ = is_signed; } MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(DefaultQuantParamsPass) void runOnOperation() override; private: // Whether the value is used as a bias input of another op. Here we assume
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.4K 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/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) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc
registry.insert<TF::TensorFlowDialect, QuantizationDialect, quantfork::QuantizationForkDialect>(); } public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PreprocessOpPass) explicit PreprocessOpPass() = default; // Constructor used by manually creating the pass. explicit PreprocessOpPass(OpSet op_set, const QuantMethod quantization_method,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.4K 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)