dd0ee4e2e8c9bd08d1f4300ce6d92d798beaa1b1,python/src/nnabla/utils/load.py,,load,#Any#Any#Any#Any#Any#Any#,824

Before Change


        proto, default_context, info.networks, info.datasets)
    if len(opti_proto.optimizer) > 0:
        opti_proto_dict = {}
        for o in opti_proto.optimizer:
            opti_proto_dict[o.name] = o
        for o in info.optimizers.values():
            if o.name in opti_proto_dict:
                o.solver.set_states_from_protobuf(opti_proto_dict[o.name])

After Change


                                    opti_proto.MergeFromString(
                                        opti_p.read())
                        elif buf_type == "h5":
                            nnp.extract(name, tmpdir)
                            opti_h5_files[name] = os.path.join(
                                tmpdir, name)

    default_context = None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: sony/nnabla
Commit Name: dd0ee4e2e8c9bd08d1f4300ce6d92d798beaa1b1
Time: 2020-06-22
Author: 46014028+TE-ShiyuYang@users.noreply.github.com
File Name: python/src/nnabla/utils/load.py
Class Name:
Method Name: load


Project Name: tyarkoni/pliers
Commit Name: e98d99e745b61af768bd30fd9bad7c892eefbe17
Time: 2016-10-20
Author: quinten.mcnamara@gmail.com
File Name: featurex/tests/test_extractors.py
Class Name:
Method Name: test_clarifaiAPI_extractor


Project Name: pantsbuild/pants
Commit Name: aea2747cda25271b788d670b8e65452b24bed4e0
Time: 2015-09-17
Author: john.sirois@gmail.com
File Name: src/python/pants/backend/android/tasks/unpack_libraries.py
Class Name: UnpackLibraries
Method Name: _unpack_artifacts


Project Name: deepfakes/faceswap
Commit Name: 232d9313afabc075e28c1a42047b22e0568200e6
Time: 2018-03-01
Author: lepersorium@gmail.com
File Name: lib/faces_detect.py
Class Name:
Method Name: detect_faces