Tutorials
Contents
walsh_matrix()
Returns a 1D Walsh-ordered Hadamard.
n (int): Order of the transform \(n\), which must be a power of two.
n
int
ValueError: If n is not a positive integer that is a power of 2.
torch.tensor: Matrix \(H\) with shape \((n,n)\).