Skip to content

Memory reusing / garbage collection mechanism during a single eval #912

Closed Answered by tyeah
tyeah asked this question in Q&A
Discussion options

You must be logged in to vote

Read deeper into the code. Is it because after calling eval on each intermediate array, arr.detach() is called, so that its inputs' ref count --, and eventually get destructed?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@awni
Comment options

@azhucea
Comment options

Answer selected by tyeah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants