tensorflow / tensorflow/tflite-support

getting empty buffers when calling createtflitesimdmodule

Open
#717 0 comments 0 reactions 0 assignees View on GitHub

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)
Screen Shot 2021-11-30 at 1 38 52 AM

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.