-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Description
import tensorflow as tf
import matplotlib.pyplot as plt
import numpy as np
tf.set_random_seed(1)
np.random.seed(1)
n_data = np.ones((100, 2))
x0 = np.random.normal(2*n_data, 1) # class0 x shape=(100, 2)
By referring to the documentation, we can know the defination:
def normal(loc=0.0, scale=1.0, size=None):
but how to understand"np.random.normal(2*n_data, 1)",please
Metadata
Metadata
Assignees
Labels
No labels