def get_function(function_path):
    try:
        return importlib.import_module(function_path)
    except ImportError:
        components = function_path.split('.')
        try:
            module = importlib.import_module('.'.join(components[:-1]))
        except ImportError:
            module = importlib.import_module('.'.join(components[:-2]))
            class_object = getattr(module, components[-2])
            return getattr(class_object, components[-1])
        else:
            return getattr(module, components[-1])
Instantiates an all-zeros tensor variable.
dataset/ETHPy150Open enthought/pikos/pikos/runner.py/get_function--crossover with--dataset/ETHPy150Open fchollet/keras/keras/backend/tensorflow_backend.py/zeros