Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for specifying interpolation modes for time and rho_norm when loading InterpolatedVarTimeRho objects. #422

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

copybara-service[bot]
Copy link

Add support for specifying interpolation modes for time and rho_norm when loading InterpolatedVarTimeRho objects.

Drive-by:

  • remove commented out branch in config parsing.
  • tidy up time rho interpolated tests into single parametrized test.

@@ -392,3 +397,10 @@ def get_value(self, x: chex.Numeric) -> chex.Array:
TimeInterpolatedInput = (
InterpolatedVarSingleAxisInput | tuple[InterpolatedVarSingleAxisInput, str]
)
# Type-alias for a variable to be interpolated in time and rho_norm.
Copy link
Collaborator

@theo-brown theo-brown Sep 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the addition of TimeRhoInterpolatedInput, I think I'm happy with the naming we were discussing on the other commit!

@copybara-service copybara-service bot force-pushed the test_679547819 branch 2 times, most recently from 7c52c6e to 2aa77a8 Compare October 7, 2024 14:39
…when loading InterpolatedVarTimeRho objects.

Drive-by:
- remove commented out branch in config parsing.
- tidy up time rho interpolated tests into single parametrized test.
PiperOrigin-RevId: 683181662
@copybara-service copybara-service bot merged commit 2280c82 into main Oct 7, 2024
@copybara-service copybara-service bot deleted the test_679547819 branch October 7, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants