Series ([-1, 0, 1]) print (relu(arr)) Now, relu will work both on scalars (e.g., 7, 2.18, ...) and vectors (e.g., numpy array, pandas.Series, .
確定! 回上一頁