brainpy.tools.checking.check_shape_except_batch#

brainpy.tools.checking.check_shape_except_batch(shape1, shape2, batch_idx=0, mode='raise')[source]#

Check whether two shapes are compatible except the batch size axis.