I was reading through some code and stumbled into this line of code, see the link below.
Can someone explain what's going on here? Does this call the constructor? I've never seen self used in such a way before.
outputs = self(**model_inputs)
I was reading through some code and stumbled into this line of code, see the link below.
Can someone explain what's going on here? Does this call the constructor? I've never seen self used in such a way before.
outputs = self(**model_inputs)