1.`operator`. Variable should record which operator produce itself. The reaon is:
1.`operator`. Variable should record which operator produce itself. The reaon is:
- we use pd.eval(targets=[var1, var2]) to run the related ops to get the value of var1 and var2. var.op is used to trace the dependency of the current variable.
- we use pd.eval(targets=[var1, var2]) to run the related ops to get the value of var1 and var2. var.op is used to trace the dependency of the current variable.
In PaddlePaddle, we use Block to describe Computation Graph, so in the code we will use Block but not Graph.
```python
```python
importVarDesc
importVarDesc
importLoDTensorDesc
importLoDTensorDesc
importframework
importframework
defAddInitialOperator(variable,initializer):
defAddInitialOperator(variable,initializer):
# add an initialize Operator to graph to init this Variable
# add an initialize Operator to block to init this Variable