Data loading method and apparatus for convolution operation
AssigneeGlenfly Tech Co., Ltd.
InventorsPengcheng Yu, Jing Feng, Ziwen Zhu, Ying Quan
Life of this patent
Estimating the term…
Loading patent…
AssigneeGlenfly Tech Co., Ltd.
InventorsPengcheng Yu, Jing Feng, Ziwen Zhu, Ying Quan
Estimating the term…
Disclosed are a data loading method and apparatus for a convolution operation, a computer device, a storage medium and a computer program product. The method includes: splitting a feature image to be loaded into the cache unit into a plurality of sub-feature images; determining a target cache line corresponding to each of the sub-feature images in each of the cache lines according to a positional relationship of each of the sub-feature images in the feature image; wherein target cache lines corresponding to at least two sub-feature images with the same positional relationship are located in the same cache set, and target cache lines corresponding to at least two sub-feature images with an adjacent positional relationship are located in different cache sets; loading a data content of each of the sub-feature images into the target cache line corresponding to each of the sub-feature images.
A data loading method for a convolution operation, applied to a cache unit which is formed by a plurality of cache banks arranged in an array, the same row of cache banks forming a cache line, a plurality of cache lines forming a cache set, the data loading method comprising:
A data loading apparatus for a convolution operation, applied to a cache unit which is formed by a plurality of cache banks arranged in an array, the cache unit comprising at least one cache set, each cache set comprising at least one cache line, the apparatus comprising:
Dependencies are inferred from the claim text.