def new_node(value, tapes=[]):
    try:
        return Node.type_mappings[type(value)](value, tapes)
    except __HOLE__:
        return NoDerivativeNode(value, tapes)
dataset/ETHPy150Open HIPS/autograd/autograd/core.py/new_node