- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for XlaResourceOpKind (0.12 sec)
-
tensorflow/compiler/jit/resource_operation_safety_analysis.cc
// auto-jit. bool IsEdgeSafe(XlaResourceOpKind from, XlaResourceOpKind to) { // XLA clusters force all reads to happen before all writes. Moreover the set // of reads are executed as one atomic operation, and the set of writes are as // another atomic operation. This means we can faithfully represent the // following edges: Read->*, *->Write. return from == XlaResourceOpKind::kRead || to == XlaResourceOpKind::kWrite; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 11:36:41 UTC 2024 - 11.2K bytes - Viewed (0)