I want to implement
torch.svd function using simpler PyTorch functions like
torch.matmul and others.
The reason being wanting to do is that I have a trained neural network (having SVD op) that I want to convert to Core ML model but Core ML’s MIL Ops don’t have implementation of
One possible solution. But it’s not correct.
One implementation I found is in NumPy but doesn’t produces same dimensional
ndarray outputs as produced by PyTorch’s
svd implementation. Moreover, the signs of output
ndarray's scalar elements are also wrong.
Can you please help me?
I am stuck at this problem since January 2021 (like almost 9 months now). If anyone could please help me I’d be really really thankful to you!!