array_split.split_test.SplitTest.test_split_by_num_slices_1d

SplitTest.test_split_by_num_slices_1d()[source]

Test for case for splitting by number of slice elements. For example:

ShapeSplitter(array_shape=(10, ), indices_or_sections=3).calculate_split()
ShapeSplitter(array_shape=(10, ), axis=[2, ]).calculate_split()