Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Update block.py
Browse files Browse the repository at this point in the history
  • Loading branch information
piiswrong authored Jun 4, 2018
1 parent 4e0322a commit 27e3960
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/mxnet/gluon/block.py
Original file line number Diff line number Diff line change
Expand Up @@ -928,6 +928,7 @@ def import_(symbol_file, input_names, param_file=None, ctx=None):
ret.collect_params().load(param_file, ctx=ctx)
return ret


def __init__(self, outputs, inputs, params=None):
super(SymbolBlock, self).__init__(prefix=None, params=None)
self._prefix = ''
Expand Down

0 comments on commit 27e3960

Please sign in to comment.