add a third dimension matrix dataset python code example
Example: add a third dimension matrix dataset python
x = [2D_matrix] # To convert from a 2-D to 3-D
# or
x = [[[value1]]] # To convert from a 1-D to 3-D
x = [2D_matrix] # To convert from a 2-D to 3-D
# or
x = [[[value1]]] # To convert from a 1-D to 3-D