def doRotations(X, rotations):
# print('number of rotations in doRotations: %d' % len(rotations))
with vs.variable_scope("Do_Rotations"):
for sparse_rot in rotations:
X = tf.sparse_tensor_dense_matmul(sparse_rot, X)
return X
评论列表
文章目录