Skip to content

Commit f58a08c

Browse files
committed
fixed layers import __all__
1 parent bce9d50 commit f58a08c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tensorlayer/layers/spatial_transformer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from .core import *
55
from .. import _logging as logging
66
import tensorflow as tf
7+
import numpy as np
78

89
__all__ = [
910
'transformer',

tests/test_layers_importer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# -*- coding: utf-8 -*-
33

44
import tensorlayer as tl
5+
import tensorflow as tf
56
from keras.layers import *
67
from tensorlayer.layers import *
78
slim = tf.contrib.slim

0 commit comments

Comments
 (0)