You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def forward(self, inputs):
# Avoid breaking if the last batch has a different size
batch_size = inputs.size(0)
if batch_size != self.batch_size:
self.batch_size = batch_size
def forward(self, inputs):
# Avoid breaking if the last batch has a different size
batch_size = inputs.size(0)
if batch_size != self.batch_size:
self.batch_size = batch_size
The text was updated successfully, but these errors were encountered: