我們可以在 numpy.expand_dims() 函式的 axis 引數中指定要擴充套件的軸。請參考以下程式碼示例。 Python. pythonCopy import numpy as np array = ...
確定! 回上一頁