xai_lstm / shared.py
Nigz's picture
Update shared.py
8b3fdc2 verified
raw
history blame contribute delete
132 Bytes
# shared.py
import numpy as np
from project import text_test
def random_idx():
return int(np.random.randint(0, len(text_test)))