- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 73 for MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID (0.54 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_tf_to_stablehlo_pass.cc
using ::tensorflow::quantization::RunPassesOnModuleOp; class TestTFToStablehloPass : public impl::TestTFToStablehloPassBase<TestTFToStablehloPass> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestTFToStablehloPass) private: void runOnOperation() override; }; void TestTFToStablehloPass::runOnOperation() { ModuleOp module_op = getOperation(); MLIRContext* ctx = &getContext();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 17:19:36 UTC 2024 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_composite_functions.cc
using ::tensorflow::quantization::RunPassesOnModuleOp; class QuantizeCompositeFunctionsPass : public impl::QuantizeCompositeFunctionsPassBase< QuantizeCompositeFunctionsPass> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(QuantizeCompositeFunctionsPass) using impl::QuantizeCompositeFunctionsPassBase< QuantizeCompositeFunctionsPass>::QuantizeCompositeFunctionsPassBase; explicit QuantizeCompositeFunctionsPass(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 02:59:01 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/mark_functions_noinline.cc
class MarkFunctionsNoinlinePass : public PassWrapper<MarkFunctionsNoinlinePass, OperationPass<func::FuncOp>> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(MarkFunctionsNoinlinePass) explicit MarkFunctionsNoinlinePass() : MarkFunctionsNoinlinePass( /*noinline_functions=*/ArrayRef<std::string>{}) {}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 18 02:52:57 UTC 2023 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_post_calibration_component.cc
TestPostCalibrationComponentPass> { public: using impl::TestPostCalibrationComponentPassBase< TestPostCalibrationComponentPass>::TestPostCalibrationComponentPassBase; MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestPostCalibrationComponentPass) private: void runOnOperation() override; }; void TestPostCalibrationComponentPass::runOnOperation() { ModuleOp module_op = getOperation();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 12:53:33 UTC 2024 - 3.5K bytes - Viewed (0) -
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)