(obj)
| 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(): |
nothing calls this directly
no test coverage detected