Broadcasting
2021-10-30 21:25

Broadcasting

tile
vv = np.tile(v, (4, 1)) # Stack 4 copies of v on top of each other
print(vv) # Prints "[[1 0 1]
...

댓글