b7d23606db54f1b60d0efae50922549234b20661,theano/configdefaults.py,,,#,1782

Before Change


// On Windows we should avoid writing temporary files to a directory that is
// part of the roaming part of the user profile. Instead we use the local part
// of the user profile, when available.
if sys.platform == "win32" and os.getenv("LOCALAPPDATA") is not None:
    default_base_compiledir = os.path.join(os.getenv("LOCALAPPDATA"), "Theano")
else:
    default_base_compiledir = os.path.join(get_home_dir(), ".theano")

After Change


compiledir_format_dict["short_platform"] = short_platform()
// Allow to have easily one compiledir per device.
compiledir_format_dict["device"] = config.device
compiledir_format_keys = ", ".join(sorted(compiledir_format_dict.keys()))
default_compiledir_format = ("compiledir_%(short_platform)s-%(processor)s-"
                             "%(python_version)s-%(python_bitwidth)s")

AddConfigVar("compiledir_format",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: Theano/Theano
Commit Name: b7d23606db54f1b60d0efae50922549234b20661
Time: 2017-07-31
Author: abergeron@gmail.com
File Name: theano/configdefaults.py
Class Name:
Method Name:


Project Name: regel/loudml
Commit Name: 0b823df0bf0c82cf1458b7f2dc3b24628e011795
Time: 2019-09-29
Author: sebastien.regel@gmail.com
File Name: loudml/setup.py
Class Name:
Method Name:


Project Name: Theano/Theano
Commit Name: f8a7c0edb2c4123d032fa32073c7356a7a17d9f0
Time: 2017-08-07
Author: stevenbocco@gmail.com
File Name: theano/configdefaults.py
Class Name:
Method Name: