MCPcopy Create free account
hub / github.com/computational-imaging/bacon / subsample_dict

Function subsample_dict

utils.py:774–775  ·  view source on GitHub ↗
(in_dict, num_views)

Source from the content-addressed store, hash-verified

772
773
774def subsample_dict(in_dict, num_views):
775 return {key: value[0:num_views, ...] for key, value in in_dict.items()}
776
777
778class HiddenPrint:

Callers 2

write_radiance_summaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected