What (if any) are some potential problems with a C++ macro usage like this? Would an inline function be a more appropriate solution?
torch.flatten(x)等于torch.flatten(x,0)默认将张量拉成一维的向量,也就是说从第一维开始平坦化,torch.flatten(x,1)编程客栈代表从第二维开始平坦化。