- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for hardware_name (0.17 sec)
-
tensorflow/compiler/mlir/lite/experimental/tac/transforms/tac_pass.h
module_(module) {} ~TacPass() override = default; const TargetHardware* GetTargetHardware( const std::string& hardware_name) const { return module_ != nullptr ? module_->GetTargetHardware(hardware_name) : mlir::TFL::tac::GetTargetHardware(hardware_name); } protected: const TacModule* module_ = nullptr; // Not owned. }; // A FunctionPass but with access to TAC module.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/tac_module.cc
// large functions (and maybe other metadata as well). } const tac::TargetHardware* TacModule::GetTargetHardware( const std::string& hardware_name) const { for (auto& hardware : backends_) { if (GetHardwareName(hardware.get()) == hardware_name) return hardware.get(); } return nullptr; } absl::Status TacModule::RunTacPasses(mlir::ModuleOp* module, bool debug_mode) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/hardwares/target_hardware.cc
total_cost += GetOpCost(op); }); return total_cost; } const TargetHardware* GetTargetHardware(const std::string& hardware_name) { const std::string canonical_name = GetCanonicalHardwareName(hardware_name); // Just loop for now, we don't expect number of hardwares to be huge. // Revisit to have map if number of elements increased.
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/hardwares/target_hardware.h
std::vector<std::unique_ptr<TargetHardwareOperation>> hardware_ops_; }; // Returns pointer to the Hardware identified by 'hardware_name'. // If not found nullptr is returned. // DEPRECATED: Do not use, prefer GetTargetHardwareFactory instead. const TargetHardware* GetTargetHardware(const std::string& hardware_name); // Returns the factory method for the requested hardware if present.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 09 21:39:59 UTC 2023 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/runtime_metadata.fbs
// } // } table HardwareMetadata { // List of different hardwares this model can use. hardware_name:[string]; } // Metadata for a single Op. table OpMetadata { // Node index in the corresponding subgraph. index:int; // The hardware suggested for inference. // This will correspond to the index in the hardware_name field in the // hardware metadata. hardware:uint8; // The estimated costs for the given op.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 21 01:22:53 UTC 2021 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/tac_module.h
exporter_ = std::move(exporter); } // Returns pointer to the TargetHardware that is identified by 'hardware_name' // Returns NULL If no hardware with this name found. const tac::TargetHardware* GetTargetHardware( const std::string& hardware_name) const; // Runs the TAC workflow, configured as in the options provided during // construction.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/common/targets.h
// TODO(b/177376459): Remove this in favor of the string defined by hardwares // MyHardware::kId. inline std::string GetCanonicalHardwareName(const std::string& hardware_name) { std::string name = hardware_name; std::transform( name.begin(), name.end(), name.begin(), [](unsigned char c) -> unsigned char { return std::toupper(c); }); return name; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 4.7K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_test.cc
static const char* hardware_name = "TestName"; static const char* vendor = "TestVendor"; static const char* pci_bus_id = "TestPCIBusId"; platform_fns_.create_device = [](const SP_Platform* platform, SE_CreateDeviceParams* params, TF_Status* status) { params->device->hardware_name = hardware_name; params->device->device_vendor = vendor;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 19:54:04 UTC 2024 - 26.5K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor.cc
const override { OwnedTFStatus c_status(TF_NewStatus()); internal::DeviceDescriptionBuilder builder; if (device_.hardware_name != nullptr) { builder.set_name(device_.hardware_name); } if (device_.device_vendor != nullptr) { builder.set_device_vendor(device_.device_vendor); } if (device_.pci_bus_id != nullptr) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 14 07:39:19 UTC 2024 - 27.1K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor.h
// Device vendor can store handle to their device representation // here. void* device_handle; // [Optional] // Device hardware name. Used for printing. // Must be null-terminated. const char* hardware_name; // [Optional] // Device vendor name. Used for printing. // Must be null-terminated. const char* device_vendor; // [Optional] // Returns the PCI bus identifier for this device, of the form
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 24 08:40:35 UTC 2022 - 21.6K bytes - Viewed (0)