MCPcopy Create free account
hub / github.com/modAL-python/modAL / default_logits_adaptor

Function default_logits_adaptor

modAL/dropout.py:14–16  ·  view source on GitHub ↗
(input_tensor: torch.tensor, samples: modALinput)

Source from the content-addressed store, hash-verified

12
13
14def default_logits_adaptor(input_tensor: torch.tensor, samples: modALinput):
15 # default Callable parameter for get_predictions
16 return input_tensor
17
18
19def mc_dropout_bald(classifier: BaseEstimator, X: modALinput, n_instances: int = 1,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…