Could you explain what kind of output you are expecting and how you are initializing the model?
If you are using:
model = Model(num_features, num_targets, hidden_size)

then model should be the object of your custom Model class.