https://github.com/tensorly/tensorly
Revision 3a74cd9f53cb39667c66ce1abb8ab5cb2f84f761 authored by Jean Kossaifi on 09 March 2017, 15:23:16 UTC, committed by Jean Kossaifi on 09 March 2017, 15:23:16 UTC
1 parent 9c314e2
Tip revision: 3a74cd9f53cb39667c66ce1abb8ab5cb2f84f761 authored by Jean Kossaifi on 09 March 2017, 15:23:16 UTC
Function to add noise to tensors
Function to add noise to tensors
Tip revision: 3a74cd9
__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)
Computing file changes ...