- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ParsedName (0.29 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.cc
mlir::StringAttr device = op->getAttrOfType<mlir::StringAttr>(kDeviceAttr); if (!device || device.getValue().empty()) { return std::nullopt; } tensorflow::DeviceNameUtils::ParsedName parsed_name; if (!tensorflow::DeviceNameUtils::ParseFullName(device.str(), &parsed_name)) { return std::nullopt; } if (!parsed_name.has_type) { return std::nullopt; } return parsed_name.type; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 2.9K bytes - Viewed (0)