Skip to main content
compress_f32_to_fp16
sokuto_
runtime
0.4.0-alpha
compress_
f32_
to_
fp16
Sections
引数
In sokuto_
runtime::
engine::
cache
sokuto_runtime
::
engine
::
cache
Function
compress_
f32_
to_
fp16
Copy item path
Source
pub fn compress_f32_to_fp16(src: &[
f32
]) ->
Vec
<
f16
>
Expand description
f32
スライスを
half::f16
へ圧縮する。
§
引数
src
: 入力
f32
スライス。