def ones(shape, dtype=_FLOATX, name=None):
    return variable(np.ones(shape), dtype, name)
Instantiates an all-ones tensor variable.
dataset/ETHPy150Open fchollet/keras/keras/backend/tensorflow_backend.py/ones