コード例 #1
0
def Env(inputs, outputs, validate = True):
    e = _Env(inputs, outputs)
    e.extend(destroyhandler.DestroyHandler())
    e.extend(ReplaceValidate())
    if validate:
        e.validate()
    return e
コード例 #2
0
def Env(inputs, outputs, validate=True):
    e = FunctionGraph(inputs, outputs, clone=False)
    e.attach_feature(destroyhandler.DestroyHandler())
    e.attach_feature(ReplaceValidate())
    if validate:
        e.validate()
    return e
コード例 #3
0
def Env(inputs, outputs, validate = True):
    e = _Env(inputs, outputs)
    e.attach_feature(destroyhandler.DestroyHandler())
    e.attach_feature(ReplaceValidate())
    if validate:
        e.validate()
    return e