- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for physical_device_desc (0.16 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/device_util.cc
static auto* r = new llvm::Regex("compute capability: ([0-9]+)\\.([0-9]+)"); llvm::SmallVector<llvm::StringRef, 3> cc; if (r->match(device.attributes().physical_device_desc(), &cc)) { return mlir::TF::GpuDeviceMetadata::get( builder->getContext(), std::stoi(cc[1].str()), std::stoi(cc[2].str())); } return builder->getUnitAttr(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.4K bytes - Viewed (0)