16be55ed98340f9494b2eadb565dc18d6cf47d9c,hypergan/cli.py,CLI,__init__,#CLI#Any#Any#,23
Before Change
args = args
self.args = args
width = int(self.args.size.split("x")[0])
height = int(self.args.size.split("x")[1])
channels = int(self.args.size.split("x")[2])
if "config" in args:
config = args.config
After Change
args = args
self.args = args
if "size" in self.args:
size = [int(x) for x in self.args.size.split("x")] + [None, None, None]
else:
size = [None, None, None]
width = size[0] or 64
height = size[1] or 64
channels = size[2] or 3
if "config" in args:
config = args.config
else:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances Project Name: HyperGAN/HyperGAN
Commit Name: 16be55ed98340f9494b2eadb565dc18d6cf47d9c
Time: 2017-06-10
Author: martyn@255bits.com
File Name: hypergan/cli.py
Class Name: CLI
Method Name: __init__
Project Name: PyThaiNLP/pythainlp
Commit Name: dff9fec2881dfb43222ad1c84aa95fd8c42715c8
Time: 2019-07-25
Author: wannaphong@yahoo.com
File Name: pythainlp/corpus/__init__.py
Class Name:
Method Name: _download
Project Name: PyThaiNLP/pythainlp
Commit Name: b7ff45e0e63da05d2a118f8e050e9b20b9eb0f09
Time: 2018-11-04
Author: arthit@gmail.com
File Name: pythainlp/number/thainum.py
Class Name:
Method Name: bahttext
Project Name: cjekel/tindetheus
Commit Name: 5a2b9314cd5b3f4da053a3813dceed362b039043
Time: 2018-11-03
Author: cjekel@gmail.com
File Name: tindetheus/tindetheus.py
Class Name:
Method Name: command_line_run