MCPcopy Create free account
hub / github.com/kwuking/TimeMixer / _select_criterion

Method _select_criterion

exp/exp_classification.py:45–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43 return model_optim
44
45 def _select_criterion(self):
46 criterion = nn.CrossEntropyLoss()
47 return criterion
48
49 def vali(self, vali_data, vali_loader, criterion):
50 total_loss = []

Callers 1

trainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected