PatrikPerssonInceptron opened a new pull request, #17490: URL: https://github.com/apache/tvm/pull/17490
# Squeeze I added a missing indentation since the following code assumed that the axis were constant. I added a tuple wrapping around axis when sending it to _np.squeeze since it does not support list objects. I added an additional check to see if the data is a ShapeExpr. If this is the case I perform the inverse of the operations done in the Unsqueeze operation. # Slice I fixed a bug were the dimensions were assumed to be of IntImm data type by adding an additional check to handle the constant and dynamic case separately. # Flatten I fixed a bug were the dimensions were assumed to be of IntImm data type by adding an additional check to handle the constant and dynamic case separately. # Split I replaced asnumpy with numpy since asnumpy is deprecated. I added a call to .item() to convert from numpy data types to python primitives. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
