Registry / other / rten-tensor

rten-tensor

JSON →
library0.24.0rscratesunverified

Tensor library for the RTen machine learning runtime, providing multi-dimensional array operations.

# Cargo.toml [dependencies] rten-tensor = "0.24.0"
INSTALL
IMPORT
SIG · RTEN-TENSOR
R
rten-tensor
otherrustv0.24.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Tensor
use rten_tensor::Tensor;

Create and inspect a 2D tensor from a flat vector.

use rten_tensor::Tensor; fn main() { let tensor = Tensor::from_vec(vec![1.0f32, 2.0, 3.0, 4.0], &[2, 2]); println!("Tensor shape: {:?}", tensor.shape()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.24.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
rten-tensor — cargo add rten-tensor · libregistry