MCPcopy Create free account
hub / github.com/Mattdl/ContinualPrototypeEvolution / eval_tasks

Function eval_tasks

main.py:277–280  ·  view source on GitHub ↗

No grads wrapper.

(model, tasks, current_task, args)

Source from the content-addressed store, hash-verified

275
276
277def eval_tasks(model, tasks, current_task, args):
278 """ No grads wrapper. """
279 with torch.no_grad():
280 return _eval_tasks(model, tasks, current_task, args)
281
282
283def eval_on_memory(args, model):

Callers 1

life_experienceFunction · 0.85

Calls 1

_eval_tasksFunction · 0.85

Tested by

no test coverage detected