def get_frame_locals(stepback=0):
    with Frame(stepback=stepback) as frame:
        locals_dict = frame.f_locals
    return locals_dict
build a nested network with the inner one being a ffn and the outer one being recurrent.
dataset/ETHPy150Open idlesign/django-siteprefs/siteprefs/utils.py/get_frame_locals--crossover with--dataset/ETHPy150Open pybrain/pybrain/pybrain/tests/unittests/structure/networks/test_nested_ffn_and_rnn.py/buildMixedNestedNetwork