-
Googling suggests a Python version of def check_buffer_doesntwork(obj):
try:
memoryview(obj)
except TypeError:
return False
return True This works for
Is this intentional? |
Beta Was this translation helpful? Give feedback.
Answered by
hawkinsp
Feb 28, 2023
Replies: 1 comment 2 replies
-
Hmm. We used to support this. I think it might have gotten lost as part of the unified jax.Array transition in 0.4. Let me look into it. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
heiner
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hmm. We used to support this. I think it might have gotten lost as part of the unified jax.Array transition in 0.4. Let me look into it.