Skip to content

Commit

Permalink
* Rebase & review comments addressed.
Browse files Browse the repository at this point in the history
  • Loading branch information
srkreddy1238 committed Oct 18, 2018
1 parent f3490b2 commit 96b6946
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion python/tvm/relay/op/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,15 @@ def where(condition, x, y):
return _make.where(condition, x, y)


def split(data, indices_or_sections, axis=None, equal_split=False):
def split(data, indices_or_sections, axis=0, equal_split=False):
"""Split input tensor along axis by sections or indices.
With equal_split being true it splits input into indices_or_sections[0]
sections and axis dimension should be a multiple of sections.
Other wise indices_or_sections is a tuple indicating indices
where the input is split on given axis.
Parameters
----------
data : relay.Expr
Expand Down

0 comments on commit 96b6946

Please sign in to comment.