/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-roccv/checkouts/latest/include/kernels/device/normalize_device.hpp Source File#
4 min read time
Applies to Linux
normalize_device.hpp
Go to the documentation of this file.
37 template <bool ScaleStddev, typename SrcWrapper, typename DstWrapper, typename ScaleWrapper, typename BaseWrapper>
38 __global__ void normalize(SrcWrapper input, BaseWrapper base, ScaleWrapper scale, DstWrapper output, float globalScale,
61 // Scale tensor is the standard deviation, invert back to scale with epsilon added to avoid division by zero.
64 // Scale tensor remains normal, calculate assuming the values in the scale tensor are indeed the scale
Definition: bilateral_filter_device.hpp:35
__global__ void normalize(SrcWrapper input, BaseWrapper base, ScaleWrapper scale, DstWrapper output, float globalScale, float shift, float epsilon)
Definition: normalize_device.hpp:38
Definition: strided_data_wrap.hpp:33
This header defines common arithmetic operators for HIP vectorized types.