參數說明. 以官方說明為例,gather()函數需要三個參數,輸入input,維度dim,以及索引index. input必須為Tensor類型. dim為int類型,代表從哪個維度 ...
確定! 回上一頁