Open abhiksark opened 2 years ago
def forward(self, input, label).
During inference time, we won't know the value of the label. How to make inference in such cases? Should we only return the value of cosine = F.linear(F.normalize(input), F.normalize(self.weight))
cosine = F.linear(F.normalize(input), F.normalize(self.weight))
def forward(self, input, label).
During inference time, we won't know the value of the label. How to make inference in such cases? Should we only return the value of
cosine = F.linear(F.normalize(input), F.normalize(self.weight))