The invention relates to a data processing method and device and a related product, the related product comprises a board card, the board card comprises a plurality of artificial intelligence processors, and memories corresponding to the artificial intelligence processors are multi-channel memories; Wherein the target artificial intelligence processor is used for receiving an artificial intelligence processor calculation instruction sent by a universal processor CPU through a target parallel thread and then passing through a memory channel corresponding to the target parallel thread. By adopting the method, smooth operation of the user-defined activation function in the neural network processor can be realized.