UniformScaling Array problem


I want to transform a Python program to Julia and I have a problem with my code at jl:61

Could you help me what should I do or what is the problem?

Please see: Please read: make it easier to help you

In particular, note items (2) post quoted code not screenshots, (4) provide a self-contained example of your problem, and (7) include full stacktraces.