Docs.rs
rai-core-0.11.0
rai-core 0.11.0
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
cksac
Dependencies
candle-core ^0.4.1
normal
optional
candle-flash-attn ^0.4.1
normal
optional
colored ^2.1.0
normal
dyn-clone ^1.0.16
normal
half ^2.3.1
normal
num-traits ^0.2.17
normal
once_cell ^1.19.0
normal
paste ^1.0
normal
safetensors ^0.4.1
normal
thiserror ^1.0.51
normal
tracing ^0.1.40
normal
Versions
4.36%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
ToPair
rai_
core
0.11.0
ToPair
Required Methods
to_pair
Implementations on Foreign Types
(usize, usize)
[usize; 2]
usize
Implementors
In rai_
core::
ops
Traits
ArangeArgs
ArgReduceArgs
AvgPool1dArgs
AvgPool2dArgs
ClampBound
FlashAttentionOpts
FlattenArgs
MaxPool1dArgs
MaxPool2dArgs
ReduceArgs
ToPair
VarArgs
Functions
abs
add
arange
argmax
argmin
avg_pool1d
avg_pool2d
broadcast_left
broadcast_right
broadcast_to
broadcast_to_unchecked
cat
chunk
clamp
conv1d
conv2d
conv_transpose1d
conv_transpose2d
cos
div
dropout
eq
erf
exp
flash_attention
flatten
from_array
from_safetensor
full
full_like
gather
ge
gelu
gt
index_add
index_select
le
linspace
log
log10
log2
log_softmax
lt
matmul
max
max_pool1d
max_pool2d
maximum
mean
min
minimum
mul
narrow
ne
neg
new_gelu
ones
ones_like
permute
powf
rand
rand_like
rand_with
randn
randn_like
randn_with
relu
relu2
relu6
reshape
rsqrt
scatter_add
sign
silu
sin
softmax
sqrt
square
squeeze
sub
sum
tanh
to_contiguous
to_device
to_dtype
transpose
unsqueeze
upsample_nearest1d
upsample_nearest2d
var
where_cond
zeros
zeros_like
rai_core
::
ops
Trait
ToPair
Copy item path
Settings
Help
Summary
Source
pub trait ToPair<T>:
Debug
{ // Required method fn
to_pair
(&self) ->
(T, T)
; }
Required Methods
§
Source
fn
to_pair
(&self) ->
(T, T)
Implementations on Foreign Types
§
Source
§
impl
ToPair
<
usize
> for (
usize
,
usize
)
Source
§
fn
to_pair
(&self) -> (
usize
,
usize
)
Source
§
impl
ToPair
<
usize
> for
usize
Source
§
fn
to_pair
(&self) -> (
usize
,
usize
)
Source
§
impl
ToPair
<
usize
> for [
usize
;
2
]
Source
§
fn
to_pair
(&self) -> (
usize
,
usize
)
Implementors
§