c2cf686f1f8e8a7f81b89010b60911648a0b77b1,binding/python/util.py,,_pv_linux_machine,#,17
Before Change
if "BCM" in hardware_info:
if "rev 7" in model_info:
return "arm11"
elif "rev 5" in model_info :
return "cortex-a7"
elif "rev 4" in model_info:
return "cortex-a53"
After Change
arch_info = ""
cpu_info = subprocess.check_output(["lscpu"]).decode()
model_info = [x for x in cpu_info.split("\n") if "Model name" in x][0].split(" ")[-1]
if "ARM1176" == model_info:
return "arm11" + arch_info
elif "Cortex-A53" == model_info:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: Picovoice/porcupine
Commit Name: c2cf686f1f8e8a7f81b89010b60911648a0b77b1
Time: 2021-02-26
Author: 42750891+mrrostam@users.noreply.github.com
File Name: binding/python/util.py
Class Name:
Method Name: _pv_linux_machine
Project Name: hachmannlab/chemml
Commit Name: 30bce6638a5840e6a67f0d996c6c51b809cd5c0c
Time: 2019-03-05
Author: mojtabah@buffalo.edu
File Name: chemml/chem/molecule.py
Class Name: Molecule
Method Name: to_smiles
Project Name: interactiveaudiolab/nussl
Commit Name: 79b793bf65ab12cf7f29a9ebdd360717afa0d3ba
Time: 2020-01-19
Author: prem@u.northwestern.edu
File Name: nussl/deep/datasets/scaper_dataset.py
Class Name: Scaper
Method Name: load_audio_files