Skip to content

Commit

Permalink
#13929: Update the input range for ldexp test
Browse files Browse the repository at this point in the history
  • Loading branch information
umadevimcw committed Nov 13, 2024
1 parent 16123a1 commit a24ad06
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ def run(
)

torch_input_tensor_a = gen_func_with_cast_tt(
partial(torch_random, low=-100, high=100, dtype=torch.float32), input_a_dtype
partial(torch_random, low=-90, high=90, dtype=torch.float32), input_a_dtype
)(input_shape)
torch_input_tensor_a.requires_grad = True
torch_input_tensor_a.retain_grad()

torch_input_tensor_b = gen_func_with_cast_tt(
partial(torch_random, low=-100, high=100, dtype=torch.float32), input_b_dtype
partial(torch_random, low=-90, high=90, dtype=torch.float32), input_b_dtype
)(input_shape)
torch_input_tensor_b.requires_grad = True
torch_input_tensor_b.retain_grad()
Expand Down

0 comments on commit a24ad06

Please sign in to comment.