Skip to content

Commit

Permalink
changed upper and lower bounds of tanh transformation
Browse files Browse the repository at this point in the history
  • Loading branch information
kylajones committed Jan 14, 2024
1 parent c20a347 commit 1f54f10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linfa/tests/test_discr_06_LF_withdiscr_HFData_TP1.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def run_test():
exp.device = torch.device('cuda:0' if torch.cuda.is_available() and not exp.no_cuda else 'cpu')

# Define transformation
trsf_info = [['tanh', -7.0, 7.0, 500.0, 1500.0],
['tanh', -7.0, 7.0, -30000.0, -15000.0]]
trsf_info = [['tanh', -20.0, 20.0, 500.0, 1500.0],
['tanh', -20.0, 20.0, -30000.0, -15000.0]]
trsf = Transformation(trsf_info)

# Apply the transformation
Expand Down

0 comments on commit 1f54f10

Please sign in to comment.