MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / parse_layer

Function parse_layer

python/paddle/framework/io.py:659–662  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

657 return isinstance(obj, paddle.nn.Layer)
658
659 def parse_layer(obj):
660 temp_dict = _parse_load_result(obj.__dict__, False)
661 obj.__dict__.update(temp_dict)
662 return obj
663
664 if _contain_x(obj, is_layer):
665 if not in_dygraph_mode():

Callers

nothing calls this directly

Calls 2

_parse_load_resultFunction · 0.85
updateMethod · 0.45

Tested by

no test coverage detected