tensorflow / tensorflow/tflite-support
getting empty buffers when calling createtflitesimdmodule
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 441
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Description
i dont understand the problem from where its coming but when i call createtflitesimdmodule from the tflite.simd file it return empty buffers but before it was working as expected and when i call this function tflite._getModelBufferMemoryOffset() return 0, what is the missing thing, is there any declaration to do before.
import createTFLiteSIMDModule from './tflite/tflite-simd.js';
const tflite = await createTFLiteSIMDModule();
const modelBufferOffset = tflite._getModelBufferMemoryOffset();
this is the result of console.log(tflite)

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the call sequence in the issue with tflite/tflite-simd.js, createTFLiteSIMDModule(), and _getModelBufferMemoryOffset(). Inspect the returned module and buffer values to identify why the offset is 0. Done means the cause is isolated and the expected non-empty buffers and model buffer offset are restored or the required setup is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, tensorflow
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100