keras-exercises/exercise-3/keras_embeddings.py
def generate_dummy_data():
    """ Generate data and labels for each batch of 10 one label. """
    x = np.arange(1,1001)
    arr = np.arange(1,101)
    y = np.repeat(arr,10)
    return x, y
 Generate data and labels for each batch of 10 one label. 
Generate data and labels for each batch of 10 one label.
Generate data and labels for each batch of 10 one label .
def generate_dummy_data():
    x = np.arange(1,1001)
    arr = np.arange(1,101)
    y = np.repeat(arr,10)
    return x, y
def generate_dummy_data ( ) : x = np . arange ( 1 , 1001 ) arr = np . arange ( 1 , 101 ) y = np . repeat ( arr , 10 ) return x , y
Generate data and labels for each batch of 10 one label.
Generate data and labels for each batch of 10 one label .
""" Generate data and labels for each batch of 10 one label. """