- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for nnapi_hardware (0.39 sec)
-
tensorflow/compiler/mlir/lite/experimental/tac/hardwares/nnapi_hardware.cc
return patterns; } std::unique_ptr<TargetHardware> CreateNNAPIHardware() { return std::make_unique<NNAPIHardware>(); } TargetHardwareRegistration<NNAPIHardware> nnapi_hardware( "Target device for NNAPI", CreateNNAPIHardware); // Currently used for these ops: // tfl.squared_difference class NNAPIBasicSupportedOpNoCost : public TargetHardwareOperation {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/hardwares/nnapi_hardware.h
namespace mlir { namespace TFL { namespace tac { class NNAPIHardware : public SimpleHardware { public: static constexpr char kId[] = "NNAPI"; mlir::RewritePatternSet GetTransformations( MLIRContext* context) const override; mlir::TypeID GetTypeId() const override { return mlir::TypeID::get<NNAPIHardware>(); } bool IsNotSupportedOp(mlir::Operation* op) const override { return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 27 15:05:02 UTC 2022 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/hardwares/BUILD
"//tensorflow/compiler/mlir/lite/experimental/tac:common", ], alwayslink = 1, ) cc_library( name = "nnapi_hardware", srcs = ["nnapi_hardware.cc"], hdrs = ["nnapi_hardware.h"], deps = [ "//tensorflow/compiler/mlir/lite:cost_estimators", "//tensorflow/compiler/mlir/lite:tensorflow_lite",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 17 08:24:48 UTC 2023 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_nnapi.cc
} void runOnOperation() override; }; void DeviceTransformNNAPIPass::runOnOperation() { auto func = getOperation(); auto* ctx = &getContext(); NNAPIHardware nnapi_hardware; RewritePatternSet patterns = nnapi_hardware.GetTransformations(ctx); (void)applyPatternsAndFoldGreedily(func, std::move(patterns)); } } // namespace static PassRegistration<DeviceTransformNNAPIPass> pass;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 07 18:43:51 UTC 2022 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/README.md
## TAC components ### Hardwares Hardwares are used to modeling target device capabilities & also ops cost for the target devices. We have already modeled `cpu_hardware` & `gpu_hardware` as well as the `nnapi_hardware`. ### Passes #### Target Annotation Pass In this pass, every op will be targeted with the user specified targets based on the device capabilites. For example, If the user specified the desired targets
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 29 18:32:13 UTC 2022 - 11.6K bytes - Viewed (0)