gemini-code-assist[bot] commented on code in PR #108:
URL: https://github.com/apache/tvm-ffi/pull/108#discussion_r2426477222
##########
python/tvm_ffi/cython/function.pxi:
##########
@@ -267,6 +267,26 @@ cdef int TVMFFIPyArgSetterDLPack_(
return 0
+cdef int TVMFFIPyArgSetterFFITensorCompatible_(
+ TVMFFIPyArgSetter* handle, TVMFFIPyCallContext* ctx,
+ PyObject* py_arg, TVMFFIAny* out
+) except -1:
+ """Setter for __dlpack__ mechanism through python, not as fast as c
exporter"""
Review Comment:

The docstring for this function appears to be copied from
`TVMFFIPyArgSetterDLPack_` and is not accurate. This function handles the
`__tvm_ffi_tensor__` protocol, not the `__dlpack__` mechanism.
```
"""Setter for objects that implement the `__tvm_ffi_tensor__`
protocol."""
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]