摘要 |
A device receives information that identifies a primary node included in a computational graph. The primary node represents a first operation, that modifies a state value associated with the primary node and a reference node, when the primary node is executed. The device receives information that identifies the reference node included in the computational graph. The reference node represents a second operation, that modifies the state value associated with the primary node and the reference node, when the reference node is executed. The device obtains the computational graph that includes the primary node and the reference node, and executes the primary node and the reference node in a single iteration of the computational graph. The device modifies the state value, associated with the primary node and the reference node, based on executing the primary node and the reference node. |
主权项 |
1. A device, comprising:
one or more processors to:
receive information that identifies a primary node included in a computational graph,
the primary node representing a first operation, that modifies a state value associated with the primary node and a reference node included in the computational graph, when the primary node is executed;receive information that identifies the reference node included in the computational graph,
the reference node representing a second operation, that modifies the state value associated with the primary node and the reference node, when the reference node is executed;obtain the computational graph that includes the primary node and the reference node;execute the primary node and the reference node in a single iteration of the computational graph, based on obtaining the computational graph; andmodify the state value, associated with the primary node and the reference node, based on executing the primary node and the reference node. |