Symbol expression reasoning method and device, equipment and medium
The invention provides a symbol expression reasoning method and device, equipment and a medium, and relates to the technical field of artificial intelligence, in particular to the technical field of deep learning and the like. The method comprises the steps that an expression tree of a target symbol...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
22.03.2024
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a symbol expression reasoning method and device, equipment and a medium, and relates to the technical field of artificial intelligence, in particular to the technical field of deep learning and the like. The method comprises the steps that an expression tree of a target symbol expression is generated, the expression tree comprises a plurality of nodes, and the nodes comprise at least one operation node and at least one variable node; performing post-order traversal on the expression tree to obtain a to-be-processed node sequence; processing the nodes in the to-be-processed node sequence in sequence, which comprises the following steps of: in response to determining that the currently processed node is an operation node, determining whether an operation result corresponding to the operation node is cached or not; in response to determining that the operation result corresponding to the operation node is not cached, performing operation reasoning on the operation node; and caching the ope |
---|---|
Bibliography: | Application Number: CN202311767964 |