https://github.com/tensorly/tensorly
Revision 1bb217a077d6fa1d507f963a60da81adfd099d79 authored by Jean Kossaifi on 14 July 2017, 03:03:33 UTC, committed by GitHub on 14 July 2017, 03:03:33 UTC
Improving partial_svd by omitting full svd matrices when possible
2 parent s 3bb1250 + fd07894
Raw File
Tip revision: 1bb217a077d6fa1d507f963a60da81adfd099d79 authored by Jean Kossaifi on 14 July 2017, 03:03:33 UTC
Merge pull request #7 from chubei/master
Tip revision: 1bb217a
__init__.py
from .. import random
import warnings


def check_random_state(seed):
    """Function moved: Use tensorly.random.check_random_state instead.
    
        Here only for backward compatibility only.
    """
    warnings.warn('Function moved: check_random_state has been moved to '
                  'the module tensorly.random.')
    return random.check_random_state(seed)
back to top