pub fn pack_ai_chw_gpu(
runtime: &WgpuRuntime,
source: &GpuImage,
scale: f32,
mean: [f32; 4],
std: [f32; 4],
) -> SpatialResult<GpuAiTensor>Expand description
Packs a resident image into normalized planar CHW f32 storage.
pub fn pack_ai_chw_gpu(
runtime: &WgpuRuntime,
source: &GpuImage,
scale: f32,
mean: [f32; 4],
std: [f32; 4],
) -> SpatialResult<GpuAiTensor>Packs a resident image into normalized planar CHW f32 storage.