- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TargetHardware (0.11 sec)
-
tensorflow/compiler/mlir/lite/experimental/tac/hardwares/target_hardware.cc
std::string unique_name; std::string description; mlir::TypeID type_id; std::unique_ptr<TargetHardware> target_hardware; std::function<std::unique_ptr<TargetHardware>()> target_hardware_factory; }; struct RegisteredTargetHardwareOps { explicit RegisteredTargetHardwareOps(mlir::TypeID hardware_type) : hardware_typeid(hardware_type) {} // Key is the Operation TypeID
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 09 21:39:59 UTC 2023 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/README.md
``` std::unique_ptr<TargetHardware> CreateFooHardware() { return std::make_unique<FooHardware>(); } TargetHardwareRegistration<FooHardware> foo_hardware( "Target device for FOO", CreateFooHardware); ``` ### Advanced user For advanced users (e.g., you may already have your own hardware dialect defined), please just use `TargetHardware` directly. See the following code snippet for reference.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 29 18:32:13 UTC 2022 - 11.6K bytes - Viewed (0)