- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for GetDeviceOfResource (0.25 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_partitioning.cc
read_use.set(new_reads[0]); } } return success(); } namespace { constexpr char kDeviceAttr[] = "device"; constexpr char kFuncDeviceAttr[] = "tf.device"; mlir::Attribute GetDeviceOfResource(mlir::func::FuncOp func, mlir::Value resource) { if (auto* resource_op = resource.getDefiningOp()) { return resource_op->getAttr(kDeviceAttr); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 11.8K bytes - Viewed (0)