07244707a74ad207a1b61497011b454cc3ade192,keras_rcnn/backend/__init__.py,,,#,3
Before Change from .common import *
if keras.backend.backend() == "theano":
from .theano_backend import *
elif keras.backend.backend() == "tensorflow":
from .tensorflow_backend import *
After Change
_BACKEND = "tensorflow"
if "KERAS_BACKEND" in os.environ:
_backend = os.environ["KERAS_BACKEND"]
backends = {
"cntk",
"tensorflow",
"theano"
}
assert _backend in backends
_BACKEND = _backend
if _BACKEND == "cntk":
from .cntk_backend import *
elif _BACKEND == "theano":
from .theano_backend import *
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: broadinstitute/keras-rcnn
Commit Name: 07244707a74ad207a1b61497011b454cc3ade192
Time: 2017-06-26
Author: allen.goodman@icloud.com
File Name: keras_rcnn/backend/__init__.py
Class Name:
Method Name:
Project Name: bonlime/keras-deeplab-v3-plus
Commit Name: 64bc7a86422c3ff27c4c7e96c1a640d1ec4eb438
Time: 2019-03-19
Author: bonlimezak@gmail.com
File Name: .ipynb_checkpoints/model-checkpoint.py
Class Name:
Method Name: Deeplabv3
Project Name: pytorch/ignite
Commit Name: 90a753c9d419597530ae36aebc10653e4ea15f1d
Time: 2021-02-11
Author: vfdev.5@gmail.com
File Name: examples/contrib/cifar10_qat/main.py
Class Name:
Method Name: training