mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-10-03 12:41:13 +08:00
[hotfix] Fix mypy error
This commit is contained in:
1 parent
0c733bcc9c
commit
1a3a250236
1 file changed
+1
-1
@@ -317,7 +317,7 @@ class PreferentialGPSampler(optuna.samplers.BaseSampler):
|
||||
|
||||
self._rng = np.random.RandomState(seed)
|
||||
self.independent_sampler = independent_sampler or optuna.samplers.RandomSampler(
|
||||
seed=self._rng.randint(2**32, dtype=np.int64)
|
||||
seed=self._rng.randint(2**32, dtype=np.int64) # type: ignore
|
||||
)
|
||||
|
||||
self._search_space = optuna.search_space.IntersectionSearchSpace()
|
||||
|
||||
Reference in new issue
Block a user