You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def sparse(idx, n):
cores = []
eye = tf.eye(n)
for k in range(len(idx)):
cores.append(tf.reshape(eye[idx[k]], (1, n, 1)))
return t3f.TensorTrain(cores)
The text was updated successfully, but these errors were encountered:
Something like
The text was updated successfully, but these errors were encountered: