huggingface / huggingface/candle

Candle cheatsheet needs more examples.

Open
#1,440 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
21k
Forks
1.8k
Avg merge
16h 42m
Merged PRs (30d)
25

Description

The cheatsheet in the readme really needs more examples...

Basic math Tensor + u32 for instance is super simple in python but... ya
tensor[:, None, None, :] lookups...
how to handle [-1] lookups...
best way to update slices with assign_slice, that can be done with a very simple expression in python...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the cheatsheet in the README and review the existing examples and formatting. Add concise examples covering Tensor plus u32, tensor[:, None, None, :], [-1] lookups, and assign_slice updates; done means these requested operations are documented clearly in the cheatsheet.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.