a3c24e5e3222592a0c4e002ac47e3b7e048327d1,tgen/tgen_random.py,,,#,59

Before Change


    for i in xrange(num_trees):
        doc = tgen.generate_tree(doc)
    
    writer = YAML(scenario=None, args={"to": files[0]})
    writer.process_document(doc)

After Change


    // initialize, train
    log_info("Initializing...")
    tgen = RandomTTreeGenerator()
    tgen.train(fname_da_train, fname_ttrees_train)

    // generate
    log_info("Generating...")
    doc = None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: UFAL-DSG/tgen
Commit Name: a3c24e5e3222592a0c4e002ac47e3b7e048327d1
Time: 2014-03-26
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/tgen_random.py
Class Name:
Method Name:


Project Name: xinntao/BasicSR
Commit Name: 8414ce8a129c37b0ae5e10751937dcc7b5611476
Time: 2018-06-08
Author: wxt1994@126.com
File Name: codes/models/SRGAN_model.py
Class Name: SRGANModel
Method Name: __init__


Project Name: xinntao/BasicSR
Commit Name: bbbf0c9da83a59ad4b96bb6452bd4493c8d5ba39
Time: 2018-06-08
Author: wxt1994@126.com
File Name: codes/models/SR_model.py
Class Name: SRModel
Method Name: __init__