並前往https://stackoverflow.com/questions/67387383/numpy-equivalent-code-of-unsqueeze-and-expand-from-torch-tensor-method