MCPcopy Create free account
hub / github.com/CSAILVision/IBD / load_state_dict

Method load_state_dict

loader/caffe_model.py:265–297  ·  view source on GitHub ↗

Copies parameters and buffers from :attr:`state_dict` into this module and its descendants. If :attr:`strict` is ``True`` then the keys of :attr:`state_dict` must exactly match the keys returned by this module's :func:`state_dict()` function. Arguments: s

(self, state_dict, strict=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

load_checkpointMethod · 0.80
loadmodelFunction · 0.80
resnet18Function · 0.80
resnet34Function · 0.80
resnet50Function · 0.80
resnet101Function · 0.80
resnet152Function · 0.80
load_snapshotMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected