Skip to content
Discussion options

You must be logged in to vote

All arguments of jax.eval_shape will be treated as dynamic; any static arguments should be bound to the function using a closure or a partial. For example:

jax.eval_shape(
  partial(lax.conv_general_dilated, window_strides=(1, 1), padding="SAME"),
  x, kernel)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@adonath
Comment options

Answer selected by adonath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants