public static void ApplyRectifiedLinearDerivative(AlignedArray value, AlignedArray grad) { Contracts.Assert(Compat(value)); Contracts.Assert(Compat(grad)); Contracts.Assert(value.Size == grad.Size); unsafe { fixed(float *pvalue = &value.Items[0]) fixed(float *pgrad = &grad.Items[0]) Thunk.ApplyRectifiedLinearDerivativeX(Ptr(value, pvalue), Ptr(grad, pgrad), grad.Size); } }