Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tensor reference counter vs storage reference counter? #21

Open
pl-csci opened this issue Dec 5, 2024 · 0 comments
Open

tensor reference counter vs storage reference counter? #21

pl-csci opened this issue Dec 5, 2024 · 0 comments

Comments

@pl-csci
Copy link

pl-csci commented Dec 5, 2024

I'm very new to this, enjoying it immensely.
But bear with me. Apologies if I have no idea what I'm talking about:

In the .h you prototype these:

void tensor_incref(Tensor* t);
void tensor_decref(Tensor* t);

but these are yet not defined in the .c file.
I don't see how these would be useful given the other functions you've built. Maybe there's a case for them. Did you mean to prototype the storage increment/decrement functions? (although they aren't used directly either, don't need prototyping).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant