Skip to content

jit for indexing the tensorflow #5576

Answered by jakevdp
JiahaoYao asked this question in Q&A
Discussion options

You must be logged in to vote

In this line:

v_jnp = np.dot(mat_jnp_list[i], v_jnp)

You're using np.dot within a jitted function, which is not supported. Try changing np.dot to jnp.dot.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by JiahaoYao
Comment options

You must be logged in to vote
0 replies
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