dmlc / dlpack

common in-memory tensor structure
https://dmlc.github.io/dlpack/latest
Apache License 2.0
911 stars 133 forks source link

MAINT: Remove unnecessarily defense code from example #141

Closed seberg closed 8 months ago

seberg commented 8 months ago

This just doesn't make sense, this is effectively a tp_dealloc. tp_dealloc cannot raise exceptions and isn't called with one in-fly.

Closes gh-130