public static void ApplyBoundedRectifiedLinear(AlignedArray src, AlignedArray dst, int c) { Contracts.Assert(Compat(src)); Contracts.Assert(Compat(dst)); Contracts.Assert(src.Size == dst.Size); Contracts.Assert(0 <= c && c <= dst.Size); unsafe { fixed(float *psrc = &src.Items[0]) fixed(float *pdst = &dst.Items[0]) Thunk.ApplyBoundedRectifiedLinearX(Ptr(src, psrc), Ptr(dst, pdst), c); } }