Skip to content

Commit

Permalink
Fix the type error. nn.module.get_variable returns a regular dict now.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 574546327
  • Loading branch information
chansoo-google authored and Copybara-Service committed Oct 18, 2023
1 parent 5dc9ded commit d7121ed
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vizier/_src/jax/stochastic_process_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,9 +523,7 @@ def posterior_predictive(
)
kwargs = cached_intermediates
if not y_observed._nopadding_done: # pylint: disable=protected-access
kwargs = kwargs.copy(
{'observations_is_missing': y_observed.is_missing[0]}
)
kwargs = kwargs | {'observations_is_missing': y_observed.is_missing[0]}

predictive_index_points = tfpke.ContinuousAndCategoricalValues(
continuous=x_predictive.continuous.padded_array,
Expand Down

0 comments on commit d7121ed

Please sign in to comment.