A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://arrayfire.org/docs/group__calc__func__grad.htm below:

ArrayFire: grad

Calculate the gradients of the input. More...

Calculate the gradients of the input.

dx is the gradient along the 1st dimension of in. dy is the gradient along the 2nd dimension of in.

The gradients along the first and second dimensions are calculated simultaneously

array in = randu(dim4(5, 3));

array dx, dy;

grad(dx, dy, in);

◆ af_gradient()

C Interface for calculating the gradients.

Parameters
[out] dx the gradient along first dimension [out] dy the gradient along second dimension [in] in is the input array
Returns
AF_SUCCESS if the color transformation is successful, otherwise an appropriate error code is returned.
◆ grad()

C++ Interface for calculating the gradients.

Parameters
[out] dx the gradient along first dimension [out] dy the gradient along second dimension [in] in is the input array

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4