2D convolutional accelerator that generates 3D results
AssigneeAlibaba Group Holding Limited
InventorLiang Han
Life of this patent
Estimating the term…
Abstract
A two-dimensional (2D) convolutional accelerator generates three-dimensional (3D) results by computing a plurality of running dot product totals for a plurality of shift positions for the frames in a sliding frame group such that each shift position has a running dot product total, and storing the plurality of running dot product totals in the elements of an output array.
Claims20
A method of operating a convolutional accelerator, the method comprising:
- receiving a plurality of input frames and a plurality of kernel channels in each of a plurality of convolutional layers, each of the input frames having a matching sequence of input channels of pixel arrays, the pixel arrays including a shift array that has a plurality of shift positions within the pixel arrays, each of the kernel channels including a plurality of kernel groups that correspond with the plurality of input frames, each kernel group having a matching sequence of kernel arrays that correspond with the sequence of pixel arrays of the input frame which corresponds to the kernel group;
- determining in each convolutional layer a number of sliding groups from the plurality of input frames where each sliding group has a number of the input frames;
- convolving in each convolutional layer the input frames in the sliding groups with the kernel groups in the plurality of kernel channels to generate a number of output frames that correspond with the number of sliding groups, each output frame having a number of output channels, each output channel having an output array, each output array having a number of entries that correspond with the plurality of shift positions of the shift array within the pixel arrays of the input frames, a last convolutional layer of the plurality of convolutional layers to output a last frame of the number of output frames, the last frame having a last channel of the number of output channels, the last channel having a last output array;
- generating a plurality of labels with probabilities based on the last array of the last channel of the last frame;
- and
- outputting the label with a highest probability as a detected action pattern.
A two-dimensional convolutional accelerator comprising:
- a computing system having a plurality of core processors, the core processors to:
- receive a plurality of input frames and a plurality of kernel channels in each of a plurality of convolutional layers, each of the input frames having a matching sequence of input channels of pixel arrays, the pixel arrays including a shift array that has a plurality of shift positions within the pixel arrays, each of the kernel channels including a plurality of kernel groups that correspond with the plurality of input frames, each kernel group having a matching sequence of kernel arrays that correspond with the sequence of pixel arrays of the input frame which corresponds to the kernel group;
- determine in each convolutional layer a number of sliding groups from the plurality of input frames where each sliding group has a number of the input frames;
- and
- convolve in each convolutional layer the input frames in the sliding groups with the kernel groups in the plurality of kernel channels to generate a number of output frames that correspond with the number of sliding groups, each output frame having a number of output channels, each output channel having an output array, each output array having a number of entries that correspond with the plurality of shift positions of the shift array within the pixel arrays of the input frames, a last convolutional layer of the plurality of convolutional layers to output a last frame of the number of output frames, the last frame having a last channel of the number of output channels, the last channel having a last output array;
- and
- a classifier coupled to the computing system, the classifier to:
- generate a list of labels with probabilities based on the last array in the last channel of the last frame;
- and
- output a label with a highest probability as a detected action pattern.
A non-transitory computer-readable storage medium having embedded therein program instructions, which when executed by a processor causes the processor to execute a method of operating a convolutional neural network, the method comprising:
- receiving a plurality of input frames and a plurality of kernel channels, each of the input frames having a matching sequence of input channels of pixel arrays, the pixel arrays including a shift array that has a plurality of shift positions within the pixel arrays, each of the kernel channels including a plurality of kernel groups that correspond with the plurality of input frames, each kernel group having a matching sequence of kernel arrays that correspond with the sequence of pixel arrays of the input frame which corresponds to the kernel group;
- determining a number of sliding groups from the plurality of input frames where each sliding group has a number of the input frames;
- and
- convolving the input frames in the sliding groups with the kernel groups in the plurality of kernel channels to generate a number of output frames that correspond with the number of sliding groups such that the input frames in a sliding group and the kernel groups in the kernel channels are convolved to generate an output frame that corresponds with the sliding group, the output frame having a number of output channels, each output channel having an output array, each output array having a number of entries that correspond with the plurality of shift positions of the shift array within the pixel arrays of the input frames, a last convolution to output a last frame of the number of output frames, the last frame having a last channel of the number of output channels, the last channel having a last output array;
- generating a plurality of labels with probabilities based on the last frame, the last channel, and the last array;
- and
- outputting the label with a highest probability as a detected action pattern.
Dependencies are inferred from the claim text.