18400286. PROGRAM COMPILATION METHOD AND APPARATUS simplified abstract (Huawei Technologies Co., Ltd.)
Contents
- 1 PROGRAM COMPILATION METHOD AND APPARATUS
- 1.1 Organization Name
- 1.2 Inventor(s)
- 1.3 PROGRAM COMPILATION METHOD AND APPARATUS - A simplified explanation of the abstract
- 1.4 Simplified Explanation
- 1.5 Potential Applications of this Technology
- 1.6 Problems Solved by this Technology
- 1.7 Benefits of this Technology
- 1.8 Potential Commercial Applications of this Technology
- 1.9 Possible Prior Art
- 1.10 Unanswered Questions
- 1.11 Original Abstract Submitted
PROGRAM COMPILATION METHOD AND APPARATUS
Organization Name
Inventor(s)
Mario Alvarez-picallo of Edinburgh (GB)
PROGRAM COMPILATION METHOD AND APPARATUS - A simplified explanation of the abstract
This abstract first appeared for US patent application 18400286 titled 'PROGRAM COMPILATION METHOD AND APPARATUS
Simplified Explanation
The patent application describes a method and apparatus for compiling programs by updating operation types of variables to handle differential operations and combining derivative function expressions using the chain rule.
- The method involves obtaining two expressions of a program that generate a dependency relationship based on a variable with different operation types, updating the operation type of the variable, processing the expressions to obtain derivative function expressions, and combining them to get the compilation result.
Potential Applications of this Technology
- Scientific computing
- Machine learning algorithms
Problems Solved by this Technology
- Efficient compilation of programs with differential operations
- Handling of complex mathematical expressions in programming
Benefits of this Technology
- Improved accuracy in derivative calculations
- Faster compilation of programs with differential operations
Potential Commercial Applications of this Technology
Optimizing Derivative Calculations in Programming
Possible Prior Art
There may be prior art related to optimizing derivative calculations in programming languages or scientific computing software.
Unanswered Questions
How does this method compare to existing techniques for handling differential operations in program compilation?
The article does not provide a direct comparison with existing techniques in the field.
Are there any limitations or constraints in the implementation of this method in real-world programming environments?
The article does not address any potential limitations or constraints that may arise when implementing this method in practical programming scenarios.
Original Abstract Submitted
A program compilation method and apparatus operate by: obtaining a first expression and a second expression of a program, where the first expression and the second expression generate a dependency relationship based on a first variable, and operation types of the first variable in the first expression and the second expression are different, and updating an operation type of the first variable; so that the first variable has no differential result or a result is zero after encountering a differential operation; separately processing the first expression and the second expression according to the updated operation type of the first variable, to obtain a corresponding derivative function expression; and; combining, based on a chain rule, derivative function expressions respectively corresponding to the first expression and the second expression, to obtain a compilation result of the program.