DickJC123 commented on issue #19915: URL: https://github.com/apache/incubator-mxnet/issues/19915#issuecomment-858201350
I recently set up master with an internal build/CI system, and see the reported failure on linux, but so far only on the CI machines when running the full test suite. The test_subgraph_exe* tests pass when run individually on a non-CI machine. The failure I'm seeing matches the reported one: ``` Shape inconsistent, Provided = [1,0,2,2], inferred shape=(1,3,2,2) ``` This error text comes from the macro SHAPE_ASSIGN_CHECK, which calls shape_assign(): https://github.com/apache/incubator-mxnet/blob/master/src/operator/operator_common.h#L157-L181 My confusion is in the interpretation of the shape [1,0,2,2]. It seems the test author wanted the C-dimension of this input weight tensor shape to be inferred. However, shape_assign() seems to be applying the 'np_shape' view of the shape, where a 0 represents a known 0-size, generally reserved for a scalar (so incompatible with [1,3,2,2]. I wonder if a 'use_np_shape' mode is being non-deterministically applied somehow to this test. Thoughts anyone? -- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
