Vajira Lasantha Thambawita created MXNET-778:
------------------------------------------------

             Summary: Creating empty mx.nd.array([]) is not allowed
                 Key: MXNET-778
                 URL: https://issues.apache.org/jira/browse/MXNET-778
             Project: Apache MXNet
          Issue Type: Bug
          Components: Gluon
            Reporter: Vajira Lasantha Thambawita


np array version - to get an idea

==============

test1 = np.array([]) 

test1 = np.concatenate((test1, test2)) # test2 may any value

This is working... 

 

====================

mx.nd.array version - bug is here

=====================

test1 = mx.nd.array([], ctx=ctx)

mx.ndarray.concat(test1, test2, dim=0) # this return and assertion error (len > 
1 on test1)

# concatenating to an empty array is importatnt feature 

Note that same thing is working with np array

==============================================

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to