tensorflow / tensorflow/java

Read/Write method of DataBuffer is against intuition

Open
#510 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
928
Forks
227
PR merge metrics
No merged PRs in 30d

Description

Naturally when using DataBuffer.read(sth), should expect it to read from sth into the buffer, and vice versa.

But the API of DataBuffer is now just the opposite

Contributor guide

Open the contributing guide

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 locating the DataBuffer read and write entry points and inspecting their current direction and callers. The issue does not name files or tests, so confirm the intended contract before making changes; done means the API behavior or naming is explicitly aligned with that contract and affected callers remain correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.