Skip to content

Commit

Permalink
Enable Python side wrapper (intel#4)
Browse files Browse the repository at this point in the history
* enable python

* update

* run-test script
  • Loading branch information
hkvision authored and zhichao-li committed Mar 30, 2018
1 parent 73bf003 commit a05567b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/dllib/src/bigdl/dllib/keras/layers/layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,22 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from bigdl.nn.keras.layer import *

if sys.version >= '3':
long = int
unicode = str


class KerasCreator(JavaValue):
class ZooKerasLayer(KerasLayer):
def jvm_class_constructor(self):
name = "createZooKeras" + self.__class__.__name__
print("creating: " + name)
return name


class Dense(KerasLayer):
class Dense(ZooKerasLayer):
"""
A densely-connected NN layer.
The most common input is 2D.
Expand Down

0 comments on commit a05567b

Please sign in to comment.