|
|
|
@ -993,7 +993,7 @@ All parameter, weight, gradient are variables in Paddle.
|
|
|
|
|
PADDLE_ENFORCE(!self.IsFinalized(), "BuildStrategy is finlaized.");
|
|
|
|
|
self.remove_unnecessary_lock_ = b;
|
|
|
|
|
},
|
|
|
|
|
R"DOC(The type is BOOL. If set True, some locks in GPU ops would be released and ParallelExecutor would run faster. Default False.)DOC")
|
|
|
|
|
R"DOC(The type is BOOL. If set True, some locks in GPU ops would be released and ParallelExecutor would run faster. Default True.)DOC")
|
|
|
|
|
.def_property(
|
|
|
|
|
"num_trainers",
|
|
|
|
|
[](const BuildStrategy &self) { return self.num_trainers_; },
|
|
|
|
|