Skip to content

Fix PyTorch deprecation warning

\test\test_pytorch.py:105: DeprecationWarning: __array__ implementation doesn't accept a copy keyword, so passing copy=False failed. __array__ must implement 'dtype' and 'copy' keyword arguments.
    np.dot(x, dummy_linear_model.linear.weight.data.T)