Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Difers committed Aug 9, 2023
1 parent 8bb93c3 commit be72e7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions python/paddle/fluid/layers/nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@
from paddle.utils import deprecated
from paddle import _C_ops, _legacy_C_ops
from collections.abc import Iterable

__all__ = []
2 changes: 1 addition & 1 deletion python/paddle/nn/initializer/lazy_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from . import framework
from paddle.fluid import framework

__all__ = ["LazyGuard"]

Expand Down

0 comments on commit be72e7d

Please sign in to comment.