Solved by albanD in post #2 
              
              
                Hi, 
You want to double check how python classes work. 
But because we use static method, we don’t create instances of this class. 
To use this function, you can either define it outside of the class. Or as another static method and call it with PermutationLayer. want_to_add().