MCPcopy Create free account
hub / github.com/AMAP-ML/EMF / __init__

Method __init__

trl/trl/core.py:84–85  ·  view source on GitHub ↗
(self, min_value: int, max_value: int)

Source from the content-addressed store, hash-verified

82 """
83
84 def __init__(self, min_value: int, max_value: int):
85 self.values = list(range(min_value, max_value))
86
87 def __call__(self) -> int:
88 return np.random.choice(self.values)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected