mirror of
https://github.com/facebookresearch/ReAgent.git
synced 2026-05-17 12:40:39 +00:00
Fix PYRE_FIXME issue in fbcode/reagent/serving/config/operators.py
Differential Revision: D103655391 fbshipit-source-id: c25aec5a1d593bc36b77ee5b9b68c346025ec48d
This commit is contained in:
committed by
meta-codesync[bot]
parent
5ea1f7bd4b
commit
05fd537382
@@ -76,8 +76,7 @@ def Softmax(temperature: float, values: Dict):
|
||||
pass
|
||||
|
||||
|
||||
# pyre-fixme[9]: seed has type `int`; used as `None`.
|
||||
def SoftmaxRanker(temperature: float, values: Dict, seed: int = None):
|
||||
def SoftmaxRanker(temperature: float, values: Dict, seed: Optional[int] = None):
|
||||
"""The operator that implements iterative softmax ranker
|
||||
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user