def __initialize_locations(self, rows, cols):
location = list()<EOL>for i in range(rows):<EOL><INDENT>for j in range(cols):<EOL><INDENT>location.append([float(i), float(j)])<EOL><DEDENT><DEDENT>return location<EOL>
!
        @brief Initialize locations (coordinates in SOM grid) of each neurons in the map.

        @param[in] rows (uint): Number of neurons in the column (number of rows).
        @param[in] cols (uint): Number of neurons in the row (number of columns).

        @return (list) List of coordinates of each neuron in map.