Skip to content

Add TfLiteIntArrayCreate() and TfLiteIntArrayFree() to TfLiteContext#118310

Merged
copybara-service[bot] merged 1 commit into
masterfrom
exported_pr_914535088
May 16, 2026
Merged

Add TfLiteIntArrayCreate() and TfLiteIntArrayFree() to TfLiteContext#118310
copybara-service[bot] merged 1 commit into
masterfrom
exported_pr_914535088

Conversation

@copybara-service
Copy link
Copy Markdown

@copybara-service copybara-service Bot commented May 12, 2026

Add TfLiteIntArrayCreate() and TfLiteIntArrayFree() to TfLiteContext

Windows has strict rule about heap management so it doesn't allow to
call TfLiteIntArrayFree() in a separate shared object.
(It causes STATUS_ACCESS_VIOLATION)

In this case, these new method allows to manage TfLiteIntArray objects
from a separate shared object.

@copybara-service copybara-service Bot force-pushed the exported_pr_914535088 branch 6 times, most recently from 1c0e9a8 to 51b67ec Compare May 16, 2026 00:02
Windows has strict rule about heap management so it doesn't allow to
call TfLiteIntArrayFree() in a separate shared object.
(It causes `STATUS_ACCESS_VIOLATION`)

In this case, these new method allows to manage TfLiteIntArray objects
from a separate shared object.

PiperOrigin-RevId: 916259033
@copybara-service copybara-service Bot force-pushed the exported_pr_914535088 branch from 51b67ec to 12bd4fe Compare May 16, 2026 00:29
@copybara-service copybara-service Bot merged commit 12bd4fe into master May 16, 2026
@copybara-service copybara-service Bot deleted the exported_pr_914535088 branch May 16, 2026 00:29
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

Successfully merging this pull request may close these issues.

1 participant