huggingface / huggingface/candle

Is there a way to zero-copy `tch-rs::Tensor` as `candle_core::Tensor`?

Open
#1,850 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 working on some project that started as `tch-rs`, and would like to know if there is any way to convert a `tch-rs::Tensor` as a `candle_core::Tensor`? preferably zero-copy?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.