ANeuralNetworks_getDevice

Function ANeuralNetworks_getDevice 

Source
pub unsafe extern "C" fn ANeuralNetworks_getDevice(
    devIndex: u32,
    device: *mut *mut ANeuralNetworksDevice,
) -> c_int
Expand description

Get the representation of the specified device.

@param devIndex The index of the specified device. Must be less than the number of available devices. @param device The representation of the specified device. The same representation will always be returned for the specified device.

@return ANEURALNETWORKS_NO_ERROR if successful.

Available since API level 29.