- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 79 for MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID (0.52 sec)
-
tensorflow/compiler/mlir/lite/transforms/raise_custom_ops.cc
// wrap it by a TFL::CustomTfOp. struct RaiseCustomOpsPass : public impl::RaiseCustomOpsPassBase<RaiseCustomOpsPass> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(RaiseCustomOpsPass) explicit RaiseCustomOpsPass() {} explicit RaiseCustomOpsPass(const std::vector<std::string> &target_ops) { this->target_ops_ = target_ops; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 17 07:31:01 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize.cc
quantfork::QuantizeCastOp>(ctx) {} }; class QuantizePass : public impl::QuantizePassBase<QuantizePass> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(QuantizePass) using impl::QuantizePassBase<QuantizePass>::QuantizePassBase; explicit QuantizePass(const bool enable_per_channel_quantized_weight) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 07:08:19 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_duplicate_resource_ops.cc
constexpr StringRef kSharedNameAttr = "shared_name"; class MergeDuplicateResourceOpsPass : public PassWrapper<MergeDuplicateResourceOpsPass, OperationPass<func::FuncOp>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(MergeDuplicateResourceOpsPass) StringRef getArgument() const final { return "quant-merge-duplicate-resource-ops"; } StringRef getDescription() const final {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 26 04:26:16 UTC 2023 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf_while.cc
// Legalize TF While to TFL While with calls to the original functions from the // cond and body regions. struct LegalizeWhilePass : public impl::LegalizeWhilePassBase<LegalizeWhilePass> { MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LegalizeWhilePass) void RunOnFunction(func::FuncOp func); void runOnOperation() override { for (auto op : getOperation().getOps<func::FuncOp>()) RunOnFunction(op); } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/compute_cost.cc
// include those as those ops wouldn't be "squashed". class ComputeCostPass : public mlir::PassWrapper<ComputeCostPass, mlir::OperationPass<ModuleOp>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ComputeCostPass) private: llvm::StringRef getArgument() const final { return "tfl-compute-cost"; } llvm::StringRef getDescription() const final {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 24 15:10:02 UTC 2022 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_op_order.cc
dequantize_op->moveAfter(passthrough_op); return success(); } }; struct OptimizeOpOrderPass : public impl::OptimizeOpOrderPassBase<OptimizeOpOrderPass> { MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(OptimizeOpOrderPass) void runOnOperation() override; }; void OptimizeOpOrderPass::runOnOperation() { RewritePatternSet patterns(&getContext()); auto func = getOperation();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/reduce_type_precision.cc
return success(); } }; class ReduceTypePrecisionPass : public impl::ReduceTypePrecisionPassBase<ReduceTypePrecisionPass> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ReduceTypePrecisionPass) void runOnOperation() override; }; void ReduceTypePrecisionPass::runOnOperation() { RewritePatternSet patterns(&getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/unfold_large_splat_constant.cc
// reduce the size of the generated flatbuffer model size. class UnfoldLargeSplatConstantPass : public impl::UnfoldLargeSplatConstantPassBase< UnfoldLargeSplatConstantPass> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(UnfoldLargeSplatConstantPass) void runOnOperation() override { auto module = getOperation(); mlir::OpBuilder op_builder(&module.getBodyRegion());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/remove_var_init_by_const.cc
// instead). class RemoveVariableInitializationByConstPass : public PassWrapper<RemoveVariableInitializationByConstPass, OperationPass<ModuleOp>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID( RemoveVariableInitializationByConstPass) StringRef getArgument() const final { return "quant-remove-var-init-by-const"; } StringRef getDescription() const final {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 03 12:04:03 UTC 2023 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/cast_bf16_ops_to_f32.cc
namespace mlir { namespace quant { namespace { class CastBf16OpsToF32Pass : public PassWrapper<CastBf16OpsToF32Pass, OperationPass<ModuleOp>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(CastBf16OpsToF32Pass) explicit CastBf16OpsToF32Pass() = default; StringRef getArgument() const final { // This is the argument used to refer to the pass in
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Dec 10 05:52:02 UTC 2023 - 4.5K bytes - Viewed (0)