Skip to content

Commit d03cbd1

Browse files
committed
follow comment test=develop
1 parent 373f649 commit d03cbd1

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

python/paddle/fluid/optimizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from contextlib import contextmanager
1919

2020
from paddle.fluid.framework import Program, Variable, name_scope, default_main_program
21-
from paddle.fluid.transpiler.details.distribute_lookuptable_utils import find_distributed_lookup_table
21+
from paddle.fluid.distribute_lookup_table import find_distributed_lookup_table
2222

2323
from . import framework
2424
from . import layers

python/paddle/fluid/transpiler/distribute_transpiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
default_startup_program, Block, \
4242
Parameter, grad_var_name
4343
from .details import *
44-
from .details.distribute_lookuptable_utils import find_distributed_lookup_table
44+
from ..distribute_lookup_table import find_distributed_lookup_table
4545
from functools import reduce
4646

4747
LOOKUP_TABLE_TYPE = "lookup_table"

0 commit comments

Comments
 (0)