GantMan / GantMan/learn-tfjs

Die shade issue

Open
#11 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
213
Forks
83
PR merge metrics
No merged PRs in 30d

Description

https://github.com/GantMan/learn-tfjs/blob/0c0dbc8e5404c0fe57e3f03a89141e9efd49e90a/chapter12/node/node-dice-data/src/index.js#L60

Aren't you creating a new rank 2 Tensor filled with 1 everywhere instead of copying and shading an existing dice ?

Contributor guide

Open the contributing guide

Research direction

Review chapter12/node/node-dice-data/src/index.js at line 60 and the surrounding dice-generation logic to determine whether the operation uses the existing die or constructs a tensor of ones. Check the chapter context for the intended shading behavior, then verify the resulting tensor values for the dice example.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, tensorflow
Domain
machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.