Skip to content

how to assign values to parameters? #25

@wantaoliu

Description

@wantaoliu
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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions