

def ones_like(x, name=None):
    'Instantiates an all-ones tensor\n    of the same shape as another tensor.\n    '
    return tf.ones_like(x, name=name)

dataset/ETHPy150Open fchollet/keras/keras/backend/tensorflow_backend.py ones_like/original