Huawei technologies co., ltd. (20240231775). PROGRAM COMPILATION METHOD AND APPARATUS simplified abstract
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 20240231775 titled 'PROGRAM COMPILATION METHOD AND APPARATUS
The patent application describes a method and apparatus for compiling programs by updating operation types of variables to eliminate differential results.
- Obtaining a first expression and a second expression of a program.
- Updating the operation type of a variable to prevent differential results.
- Separately processing the expressions to obtain derivative function expressions.
- Combining derivative function expressions using a chain rule to compile the program.
- Key Features and Innovation:
- Updating operation types of variables to prevent differential results.
- Processing expressions separately to obtain derivative function expressions.
- Combining derivative function expressions using a chain rule for program compilation.
- Potential Applications:
This technology can be applied in software development, mathematical modeling, and scientific computing.
- Problems Solved:
The technology addresses issues related to differential results in program compilation, ensuring accurate and efficient processing.
- Benefits:
- Improved accuracy in program compilation.
- Enhanced efficiency in mathematical operations.
- Reduction of errors in derivative calculations.
- Commercial Applications:
This technology can be utilized in industries such as finance, engineering, and data analysis for optimizing program performance and accuracy.
- Questions about the Technology:
- 1. How does this technology improve program compilation efficiency?
- Questions about the Technology:
This technology improves efficiency by updating operation types of variables to prevent differential results, leading to more accurate derivative calculations.
- 2. What are the potential applications of this technology beyond software development?
This technology can also be applied in fields such as scientific research, data analysis, and machine learning for optimizing mathematical operations and calculations.
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.