Is there a quick way to “sub-flatten” or flatten only some of the first dimensions in a numpy array?
For example, given a numpy array of dimensions (50,100,25)
, the resultant dimensions would be (5000,25)
Is there a quick way to “sub-flatten” or flatten only some of the first dimensions in a numpy array?
For example, given a numpy array of dimensions (50,100,25)
, the resultant dimensions would be (5000,25)