I am trying to convert the rows [0-1] of a matrix to representation in number (binary equivalent), the code I have is the following:
def generate_binary_matri