Skip to content

Commit 72859ae

Browse files
committed
Merge remote-tracking branch 'upstream/b501171054-hparam' into b501171054-hparam
2 parents bfbfbf1 + 30506fa commit 72859ae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/bigframes/bigframes/bigquery/_operations/mathematical.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def rand() -> bigframes.core.col.Expression:
5353
return bigframes.core.col.Expression(bigframes.core.expression.OpExpression(op, ()))
5454

5555

56-
def hparam_range(min: float | int, max: float | int) -> bigframes.core.col.Expression:
56+
def hparam_range(min: float, max: float) -> bigframes.core.col.Expression:
5757
"""
5858
Defines the minimum and maximum bounds of the search space of continuous
5959
values for a hyperparameter.
@@ -89,7 +89,7 @@ def hparam_range(min: float | int, max: float | int) -> bigframes.core.col.Expre
8989

9090

9191
def hparam_candidates(
92-
candidates: list[float | int | str],
92+
candidates: list[float | str],
9393
) -> bigframes.core.col.Expression:
9494
"""
9595
Specifies the set of discrete values for the hyperparameter.

0 commit comments

Comments
 (0)