-
公开(公告)号:US20220107791A1
公开(公告)日:2022-04-07
申请号:US17552151
申请日:2021-12-15
Inventor: Huanzhou WU , Huan WANG , Wei ZHOU , Tao LUO , Xiang LAN
Abstract: There is provided a method for compilation, an apparatus for compilation, an electronic device, a storage medium and a program product, which may be used in a field of source file compilation and a field of deep learning. The method includes: acquiring a source file set containing source files in a type; combining a plurality of source files in the source file set into at least one source file subset, based on a predetermined combination rule associated with the source file set; and compiling each source file subset of the at least one source file subset as a whole.
-
公开(公告)号:US20220035614A1
公开(公告)日:2022-02-03
申请号:US17500779
申请日:2021-10-13
Inventor: Liujie ZHANG , Xiang LAN , Huihuang ZHENG , Hongyu LIU , Wei ZHOU , Yanjun MA , Dianhai YU , Haifeng WANG
Abstract: The present disclosure discloses a method, an apparatus and an electronic device for deploying an operator in a deep learning framework and relates to the field of artificial intelligence technology such as deep learning. And the solution is: acquiring a source file of the operator; compiling the source file of the operator to form a dynamic link library of the operator; generating an interface file transferred from the dynamic link library of the operator; generating an installable library file according to the dynamic link library and the interface file; installing the installable library file to a target programming language library.
-
3.
公开(公告)号:US20220004526A1
公开(公告)日:2022-01-06
申请号:US17480294
申请日:2021-09-21
Inventor: Liujie ZHANG , Yamei LI , Huihuang ZHENG , Hongyu LIU , Xiang LAN , Dianhai YU , Yanjun MA , Tian WU , Haifeng WANG
Abstract: According to exemplary embodiments of the present disclosure, there is provided a method and apparatus of converting a schema in a deep learning framework, and a computer storage medium. The method of converting the schema in the deep learning framework includes: updating a first schema, based on first syntax elements in the first schema and a context relationship between the first syntax elements in the first schema, so as to obtain an updated first schema; generating second syntax elements corresponding to updated first syntax elements in the updated first schema, based on a mapping relationship between the updated first syntax elements in the updated first schema and second syntax elements in a second schema system; and combining the second syntax elements according to a context relationship between the updated first syntax elements, so as to generate a second schema
-
公开(公告)号:US20220391774A1
公开(公告)日:2022-12-08
申请号:US17887951
申请日:2022-08-15
Inventor: Feng XING , Xiang LAN , Liling NIU , Xiandong LIU , Yanjun MA , Dianhai YU , Haifeng WANG
Abstract: A method and apparatus for generating an operator are provided. The method includes: constructing a group of basic application programming interfaces for providing one of the following basic functions: an access function, a storage function, and a computing function; constructing a kernel application programming interface for invoking the basic application programming interfaces to implement an operator logic; and generating a target kernel operator based on the group of basic application programming interfaces and the kernel application programming interface.
-
5.
公开(公告)号:US20220374238A1
公开(公告)日:2022-11-24
申请号:US17572140
申请日:2022-01-10
Inventor: Weihang CHEN , Jiabin YANG , Hongyu LIU , Xiang LAN
Abstract: The present disclosure provides an operator registration method and apparatus for a deep learning framework, a device and a storage medium, relates to the field of computer technologies, and specifically to the field of artificial intelligence such as deep learning. The operator registration method for a deep learning framework includes: receiving registration information provided by a user for registering operators with the deep learning framework, the registration information including: a custom calculation function, the custom calculation function being written in a manner irrelevant to the deep learning framework; building operator meta-information in the deep learning framework based on the registration information; and constructing a to-be-registered operator within the deep learning framework based on the operator meta-information, and registering the to-be-registered operator in a global operator table within the deep learning framework. The present disclosure can simplify an operator registration process.
-
-
-
-