8000 MAINT: update __init__.py · tensorly/tensorly@d93d280 · GitHub
[go: up one dir, main page]

Skip to content

Commit d93d280

Browse files
stsievertJeanKossaifi
authored andcommitted
MAINT: update __init__.py
1 parent b2874c5 commit d93d280

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tensorly/backend/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
from .cupy_backend import *
1616
else:
1717
import warnings
18-
warnings.warn('_BACKEND should be either "mxnet", "pytorch" or "numpy", {} given.'.format(_BACKEND))
18+
warnings.warn('_BACKEND should be either "mxnet", "pytorch", '
19+
'"tensorflow", "cupy" or "numpy". '
20+
'{} was given.'.format(_BACKEND))
1921
warnings.warn('Using MXNet backend.')
20-

0 commit comments

Comments
 (0)
0