Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Tensor calculation operation method, tensor calculation operation device and tensor calculation operation system

A computing system and operating method technology, applied in the field of machine learning, can solve the problems of low tensor calculation efficiency and lack of unified standards on the device side, to avoid labor costs and time costs, improve efficiency, and speed up tensor calculations.

Pending Publication Date: 2021-11-26
HANGZHOU HIKVISION DIGITAL TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, there is often a lack of unified standards on the device side. For example, some devices can use P4-type GPUs, other parts can use T4-type GPUs, and the rest can use TX1-type GPUs.
The same computing instruction is difficult to be recognized by all devices, so it is difficult for developers to use multiple devices with different types of GPUs to perform tensor calculations together, resulting in low efficiency of tensor calculations

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Tensor calculation operation method, tensor calculation operation device and tensor calculation operation system
  • Tensor calculation operation method, tensor calculation operation device and tensor calculation operation system
  • Tensor calculation operation method, tensor calculation operation device and tensor calculation operation system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049]The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0050] In order to more clearly describe the tensor calculation operation method provided by the embodiment of the present invention, a possible application scenario will be described as an example below. It can be understood that the following example is only one possible application scenario of the tensor calculation operation method provided by the embodiment of the present invention. In other possible embodiments, the tensor calculation operation method prov...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a tensor calculation operation method, a tensor calculation operation device and a tensor calculation operation system. The method comprises the steps of forming a plurality of calculation instructions, wherein the calculation instructions are used for representing tensor calculation modes; aiming at each calculation instruction, determining one of the plurality of equipment ends as the equipment end corresponding to the calculation instruction; for each calculation instruction, packaging the calculation instruction in a packaging mode which can be analyzed by a preset operation environment of the equipment end corresponding to the calculation instruction to obtain task information corresponding to the equipment end; and for each piece of task information, sending the task information to the device end corresponding to the task information, so that the plurality of device ends carry out tensor calculation in parallel according to the tensor calculation mode represented by the plurality of calculation instructions. The advantages of large-scale operation can be fully utilized in a parallel calculation mode, tensor calculation is accelerated, and the tensor calculation efficiency can be effectively improved.

Description

technical field [0001] The invention relates to the technical field of machine learning, in particular to a tensor calculation operation method, device and operation system. Background technique [0002] In some application scenarios, due to actual needs, electronic devices with computing capabilities can perform calculations between one or more tensors (hereinafter referred to as tensor calculations), such as the process of using a trained convolutional neural network for image recognition In , the convolutional layer, pooling layer, activation layer, etc. in the neural network can be realized by tensor calculation. [0003] The complexity of tensor calculation is high, and general-purpose host-side devices (hereinafter referred to as the host-side) often do not have the hardware conditions to perform high-complexity calculations. For example, the host-side often does not have a high-performance GPU, such as P4 ( A GPU model), T4 (a GPU model), TX1 (a GPU model) type GPU. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/16
CPCG06F17/16Y02D10/00
Inventor 林秀陈良叶挺群
Owner HANGZHOU HIKVISION DIGITAL TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products