mirror of
https://github.com/google-deepmind/deepmind-research.git
synced 2025-12-11 17:39:09 +08:00
Silence some pytype errors.
PiperOrigin-RevId: 496746673
This commit is contained in:
committed by
Diego de las Casas
parent
4caaad8b0a
commit
3c1aa70723
@@ -28,7 +28,7 @@ class AbstractCombiner(targets.AbstractTarget):
|
||||
"""Combines a set of rewards, possibly weighted."""
|
||||
|
||||
@abc.abstractmethod
|
||||
def __call__(self, values: List[float],
|
||||
def __call__(self, values: List[float], # pytype: disable=signature-mismatch # overriding-return-type-checks
|
||||
weights: Optional[List[float]] = None) -> List[float]:
|
||||
"""Combines a set of rewards, possibly weighted."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user