From 2666d66b73911a480a3a02f0e0ddfd3cef63e11a Mon Sep 17 00:00:00 2001 From: qiaolongfei Date: Mon, 4 Sep 2017 14:59:47 -0700 Subject: [PATCH] typo --- doc/design/var_desc.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/design/var_desc.md b/doc/design/var_desc.md index db6ea2b2e48..545ff161ef0 100644 --- a/doc/design/var_desc.md +++ b/doc/design/var_desc.md @@ -57,7 +57,7 @@ fc2 = layer.fc(input=fc1, output_size=20) ``` ### what should class `Variable` Have 1. `name`.a name of string type is used to mark the value of the Variable. -1. `initializer`. Since our Tensor does not have value. we will always use some Operator to fullfill it when run. So we should have a inialize method to help add the init operator. +1. `initializer`. Since our Tensor does not have value. we will always use some Operator to fullfill it when run. So we should have a initialize method to help add the init operator. 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. -- GitLab