Searched refs:HasLocalMirror (Results 1 – 6 of 6) sorted by relevance
64 if (IsCPU(device()) || HasLocalMirror(nullptr)) { in Resolve()66 if (HasLocalMirror(nullptr)) { in Resolve()
170 bool HasLocalMirror(const Device* d) const;
1152 if (mirror && h->HasLocalMirror(d)) { in LocalEagerCopyToDevice()1163 if (h->HasLocalMirror(d)) { in LocalEagerCopyToDevice()1247 if (h->HasLocalMirror(d)) { in EagerCopyToDevice()
682 bool TensorHandle::HasLocalMirror(const Device* d) const { in HasLocalMirror() function in tensorflow::TensorHandle
167 ASSERT_FALSE(remote_arg->HasLocalMirror(nullptr)); in TestRemoteExecuteSilentCopies()180 ASSERT_TRUE(remote_arg->HasLocalMirror(nullptr)); in TestRemoteExecuteSilentCopies()
428 ASSERT_FALSE(cpu_arg->HasLocalMirror(gpu_device)); in TensorHandleSilentCopy()446 ASSERT_TRUE(cpu_arg->HasLocalMirror(gpu_device)); in TensorHandleSilentCopy()