Uploaded image for project: 'Apache MXNet (Retired)'
  1. Apache MXNet (Retired)
  2. MXNET-778

Creating empty mx.nd.array([]) is not allowed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: To Do
    • Major
    • Resolution: Unresolved
    • Gluon
    • None

    Description

      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)

      1. concatenating to an empty array is importatnt feature 

      Note that same thing is working with np array

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

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            vlbthambawita Vajira Lasantha Thambawita
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: