-
公开(公告)号:US11734002B2
公开(公告)日:2023-08-22
申请号:US16697687
申请日:2019-11-27
发明人: Tianshi Chen , Jie Wei , Tian Zhi , Zai Wang
CPC分类号: G06F9/30 , G06F7/46 , G06F9/30007 , G06N3/04 , G06N3/08
摘要: The present disclosure provides a counting device and counting method. The device includes a storage unit, a counting unit, and a register unit, where the storage unit may be connected to the counting unit for storing input data to be counted and storing a number of elements satisfying a given condition in the input data after counting; the register unit may be configured to store an address where input data to be counted is stored in the storage unit; and the counting unit may be connected to the register unit, and may be configured to acquire a counting instruction, read a storage address of the input data to be counted in the register unit according to the counting instruction, acquire corresponding input data to be counted in the storage unit, perform statistical counting on a number of elements in the input data to be counted that satisfy the given condition, and obtain a counting result. The counting device and the method may improve the computation efficiency by writing an algorithm of counting a number of elements that satisfy a given condition in input data into an instruction form.
-
公开(公告)号:US11698786B2
公开(公告)日:2023-07-11
申请号:US16697727
申请日:2019-11-27
发明人: Shaoli Liu , Wei Li , Tian Zhi , Tianshi Chen
CPC分类号: G06F9/30 , G06F7/46 , G06F9/30007 , G06N3/04 , G06N3/08
摘要: The present disclosure provides a computation device and method. The device may include an input module configured to acquire input data; a model generation module configured to construct an offline model according to an input network structure and weight data; a neural network operation module configured to generate a computation instruction based on the offline model and cache the computation instruction, and compute the data to be processed based on the computation instruction to obtain a computation result; and an output module configured to output a computation result. The device and method may avoid the overhead caused by running an entire software architecture, which is a problem in a traditional method.
-
公开(公告)号:US20200097794A1
公开(公告)日:2020-03-26
申请号:US16697687
申请日:2019-11-27
发明人: Tianshi Chen , Jie Wei , Tian Zhi , Zai Wang
摘要: The present disclosure provides a counting device and counting method. The device includes a storage unit, a counting unit, and a register unit, where the storage unit may be connected to the counting unit for storing input data to be counted and storing a number of elements satisfying a given condition in the input data after counting; the register unit may be configured to store an address where input data to be counted is stored in the storage unit; and the counting unit may be connected to the register unit, and may be configured to acquire a counting instruction, read a storage address of the input data to be counted in the register unit according to the counting instruction, acquire corresponding input data to be counted in the storage unit, perform statistical counting on a number of elements in the input data to be counted that satisfy the given condition, and obtain a counting result. The counting device and the method may improve the computation efficiency by writing an algorithm of counting a number of elements that satisfy a given condition in input data into an instruction form.
-
公开(公告)号:US11551067B2
公开(公告)日:2023-01-10
申请号:US16520041
申请日:2019-07-23
发明人: Tianshi Chen , Xiaobin Chen , Tian Zhi , Zidong Du
摘要: The present disclosure provides a neural network processor and neural network computation method that deploy a memory and a cache to perform a neural network computation, where the memory may be configured to store data and instructions of the neural network computation, the cache may be connected to the memory via a memory bus, thereby, the actual compute ability of hardware may be fully utilized, the cost and power consumption overhead may be reduced, parallelism of the network may be fully utilized, and the efficiency of the neural network computation may be improved.
-
公开(公告)号:US10671913B2
公开(公告)日:2020-06-02
申请号:US16520615
申请日:2019-07-24
发明人: Shaoli Liu , Wei Li , Tian Zhi , Tianshi Chen
摘要: The present disclosure provides a computation device and method, which are capable of using a single instruction to complete a transpose computation of a matrix of any size within constant time. Compared with conventional methods for performing a matrix transpose computation, the device and method may reduce the time complexity of a matrix transpose computation as well as making the usage of the computation simpler and more efficient.
-
公开(公告)号:US20200097795A1
公开(公告)日:2020-03-26
申请号:US16697727
申请日:2019-11-27
发明人: Shaoli Liu , Wei Li , Tian Zhi , Tianshi Chen
摘要: The present disclosure provides a computation device and method. The device may include an input module configured to acquire input data; a model generation module configured to construct an offline model according to an input network structure and weight data; a neural network operation module configured to generate a computation instruction based on the offline model and cache the computation instruction, and compute the data to be processed based on the computation instruction to obtain a computation result; and an output module configured to output a computation result. The device and method may avoid the overhead caused by running an entire software architecture, which is a problem in a traditional method.
-
-
-
-
-