MCPcopy Create free account
hub / github.com/CausalLearning/robust-unlearnable-examples / add_log

Function add_log

utils/generic.py:34–37  ·  view source on GitHub ↗
(log, key, value)

Source from the content-addressed store, hash-verified

32
33
34def add_log(log, key, value):
35 if key not in log.keys():
36 log[key] = []
37 log[key].append(value)
38
39
40def get_transforms(dataset, train=True, is_tensor=True):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected