Patent · US Active

Method and apparatus for calculating tensor data with computer, medium, and device

US11907112B2 · kind B2 · utility

0Cited by
6References
16Claims
0Family size

Assignee

Inventors

Key dates

Filing dateNov 24, 2020
Grant dateFeb 20, 2024
Priority date
Expiry dateNov 24, 2040

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F17/16
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Embodiments of the present disclosure disclose a method and apparatus for calculating tensor data based on a computer, a medium, and a device. The method includes: determining, from a second tensor, a dimension different from a dimension of a first tensor based on dimensions of the first tensor and dimensions of the second tensor; updating stride in the different dimension to a predetermined value; reading a to-be-operated data block of the second tensor from a buffer module based on updated stride with the predetermined value in each dimension of the second tensor, where the to-be-operated data block is a data block for which padding processing is performed; and performing binary operation on the first tensor based on the to-be-operated data block of the second tensor. According to the present disclosure, broadcasting may be conveniently achieved without difficulty of hardware design being increased.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.