V1.5.2
What's Changed
- Better indexing support arrow dataset by @parmidaatg in #183
- Raises an error instead of a warning when label has no label by @Dref360 in #187
- #192 Use configure instead of configure_once to remove warnings by @Dref360 in #193
- #190 Fix MRO for Lightning examples and deprecate said example by @Dref360 in #191
- Can easily unpatch modules and use as a context manager #198 #194 :
mc_dropout_model = MCDropoutModule(your_model)
# this is stochastic
predictions = [mc_dropout_model(input) for _ in range(ITERATIONS)]
model = mc_dropout_model.unpatch()
# this is deterministic
output = model(input)
# Context manager
with MCDropoutModule(your_model) as model:
# this is stochastic
predictions = [model(input) for _ in range(ITERATIONS)]
# this is deterministic
output = model(input)
Full Changelog: 1.5.1...v1.5.2