- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getDeviceName (0.13 sec)
-
tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc
} bool HasValidHardwareTarget(mlir::Operation* op) { // All TFLite ops has CPU interface, should be enough to check for cpu. return IsOpSupported(op, "CPU"); } std::optional<std::string> GetDeviceName(mlir::Operation* op) { if (IsConst(op)) return std::nullopt; // The model may contain quant stats op which is unrelevant to the // execution. if (llvm::isa<mlir::func::ReturnOp, mlir::quantfork::StatisticsOp>(op))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 06:11:34 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.cc
TFE_OpSetAttrString(op, "recv_device", recv_device.c_str(), recv_device.size()); TFE_OpSetAttrInt(op, "send_device_incarnation", send_device_incarnation); return op; } bool GetDeviceName(TFE_Context* ctx, string* device_name, const char* device_type) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 23.5K bytes - Viewed (0)