_init_nd_shape_and_axes(x, shape, axes)
Returns the shape and axes in a standard form, taking into account negative values and checking for various potential errors.
The input array.
The shape of the result. If both :None:None:`shape`
and :None:None:`axes`
(see below) are None, :None:None:`shape`
is x.shape
; if :None:None:`shape`
is None but :None:None:`axes`
is not None, then :None:None:`shape`
is numpy.take(x.shape, axes, axis=0)
. If :None:None:`shape`
is -1, the size of the corresponding dimension of x
is used.
Axes along which the calculation is computed. The default is over all axes. Negative indices are automatically converted to their positive counterparts.
The shape of the result. It is a 1-D integer array.
The shape of the result. It is a 1-D integer array.
Handle shape and axes arguments for N-D transforms.
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them