Skip to content

Commit

Permalink
add tf.distribute.experimental.coordinator.RemoteValue
Browse files Browse the repository at this point in the history
  • Loading branch information
hoel-bagard committed Feb 4, 2024
1 parent 7a6a749 commit b6ae7c9
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from typing import Generic, TypeVar

from tensorflow._aliases import AnyArray

_Value = TypeVar("_Value", covariant=True)

class RemoteValue(Generic[_Value]):
def fetch(self) -> AnyArray: ...
def get(self) -> _Value: ...

0 comments on commit b6ae7c9

Please sign in to comment.