Docs.rs
web-rwkv-0.3.0
web-rwkv 0.3.0
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
cryscan
Dependencies
ahash ^0.8
normal
anyhow ^1
normal
bitflags ^2.3
normal
bytemuck ^1.13
normal
derive-getters ^0.3
normal
flume ^0.10
normal
half ^2.2
normal
itertools ^0.11
normal
lazy_static ^1.4
normal
log ^0.4
normal
regex ^1.8.4
normal
safetensors ^0.3.1
normal
serde ^1
normal
serde_json ^1
normal
uid ^0.1
normal
web-rwkv-derive ^0.2.0
normal
wgpu ^0.17
normal
clap ^4.3
dev
crossterm ^0.27
dev
dialoguer ^0.10
dev
fastrand ^2.0
dev
memmap2 ^0.7
dev
pollster ^0.3.0
dev
ratatui ^0.23.0
dev
wgpu-profiler ^0.14.1
dev
console_error_panic_hook ^0.1.7
dev
console_log ^1.0.0
dev
fastrand ^2.0
dev
itertools ^0.11
dev
log ^0.4
dev
wasm-bindgen ^0.2
dev
wasm-bindgen-futures ^0.4
dev
web-sys ^0.3
dev
Versions
27.65%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
web_rwkv
0.3.0
Device
Required Associated Types
Data
Implementors
In web_rwkv::tensor
?
Trait
web_rwkv
::
tensor
::
Device
source
·
[
−
]
pub trait Device: Sealed { type
Data
:
Clone
; }
Required Associated Types
§
source
type
Data
:
Clone
Implementors
§
source
§
impl<'a, T:
Scalar
>
Device
for
Cpu
<'a, T>
§
type
Data
=
Cow
<'a,
[T]
>
source
§
impl<K:
Kind
>
Device
for
Gpu
<K>
§
type
Data
=
TensorBuffer