wavefrontshaping / complexPyTorch

A high-level toolbox for using complex valued neural networks in PyTorch
MIT License
623 stars 148 forks source link

Autograd and backpropagation #35

Open sweetan8898 opened 6 months ago

sweetan8898 commented 6 months ago

hi I am a beginner to complex valued networks, My program uses real-valued loss functions and the network does not converge and I have a question: What kind of loss function should guide the network for complex valued networks? Is real or complex loss more appropriate? This must have something to do with how torch backspreads now. My understanding in this area is insufficient, although torch gives the specific calculation procedure.

autograd

I am looking forward to your reply. Thank you very much.