File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 56
56
import recordio_writer
57
57
import parallel_executor
58
58
from parallel_executor import *
59
+ from paddle .fluid .layers .math_op_patch import monkey_patch_variable
59
60
60
61
Tensor = LoDTensor
61
62
@@ -138,5 +139,5 @@ def __bootstrap__():
138
139
139
140
# TODO(panyx0718): Avoid doing complex initialization logic in __init__.py.
140
141
# Consider paddle.init(args) or paddle.main(args)
141
- layers . monkey_patch_variable ()
142
+ monkey_patch_variable ()
142
143
__bootstrap__ ()
Original file line number Diff line number Diff line change 33
33
from learning_rate_scheduler import *
34
34
35
35
__all__ = []
36
- __all__ += math_op_patch .__all__
37
36
__all__ += nn .__all__
38
37
__all__ += io .__all__
39
38
__all__ += tensor .__all__
Original file line number Diff line number Diff line change 16
16
from layer_function_generator import OpProtoHolder
17
17
from ..initializer import force_init_on_cpu
18
18
19
- __all__ = ['monkey_patch_variable' ]
20
-
21
19
22
20
def monkey_patch_variable ():
23
21
def unique_tmp_name ():
You can’t perform that action at this time.
0 commit comments