Skip to content
This repository has been archived by the owner on Feb 1, 2020. It is now read-only.

Commit

Permalink
[FRONTEND] Correct the use of concatenate operator (#181)
Browse files Browse the repository at this point in the history
* Correct the use of `concatenate` operator

* Optimize
  • Loading branch information
PENGUINLIONG authored and tqchen committed Oct 18, 2017
1 parent a96133e commit 8d79cfd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/nnvm/frontend/coreml.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,7 @@ def ConcatLayerParams(op, insyms, symtab):
insyms = [insyms]
if op.sequenceConcat:
raise NotImplementedError("Sequence Concat not supported")
ret = insyms[0]
for i in range(1, len(insyms)):
ret = _sym.concat(ret, insyms[i], dim=1)
ret = _sym.concatenate(*insyms, dim=1)
return ret

def FlattenLayerParams(op, insym, symtab):
Expand Down

0 comments on commit 8d79cfd

Please sign in to comment.