You are not creating an instance of the discriminator, i.e. you forgot the parentheses.
Try to call Discriminator().to(DEVICE) instead.
PS: It’s better to post the code directly by wrapping it in three backticks ``` instead of screenshots. This will allow the search to index it and allows us to copy/paste it in case we need to debug it.