huggingface / huggingface/candle

How to get raw tensor data?

Open
#2,294 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

I am trying to implement an adaptive avg pool in candle. However, I guess my implementation will require an API to get the raw data/storage (storaged in plain/flatten array format).
Wondering if there is such an API for that?

Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing Candle's tensor API and storage representation to determine whether raw or flattened data access is already available. Define the requirements for implementing adaptive average pooling, then document the needed API behavior and validate it against the pooling use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.