ad2ff3124948b32978b41d5b3e66630f05d0f6fe,beholder_demo.py,,,#,210
Before Change
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("--fake_data", nargs="?", const=True, type=bool,
default=False,
help="If true, uses fake data for unit testing.")
parser.add_argument("--max_steps", type=int, default=10000,
help="Number of steps to run trainer.")
parser.add_argument("--learning_rate", type=float, default=0.001,
help="Initial learning rate")
After Change
if __name__ == "__main__":
import os
if not os.path.exists(LOG_DIRECTORY):
os.makedirs(LOG_DIRECTORY)
print(LOG_DIRECTORY)
beholder_pytorch()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: lanpa/tensorboardX
Commit Name: ad2ff3124948b32978b41d5b3e66630f05d0f6fe
Time: 2018-06-07
Author: huang.dexter@gmail.com
File Name: beholder_demo.py
Class Name:
Method Name:
Project Name: Microsoft/nni
Commit Name: e0b692c96565074d4cb148e6011b2007d0a55348
Time: 2020-03-23
Author: Quanlu.Zhang@microsoft.com
File Name: examples/model_compress/model_speedup.py
Class Name:
Method Name:
Project Name: NervanaSystems/nlp-architect
Commit Name: 650a9bb35b4b0796ee90c5ac0b498af54c32c2e3
Time: 2018-05-08
Author: peteriz@users.noreply.github.com
File Name: core_models/intent_extraction/interactive.py
Class Name:
Method Name: