Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: please help making a loop faster
Post: RE: please help making a loop faster

i got it; i went back and read through the documentation. Thanks for the lead.
mrnapoli Data Science 10 4,102 Nov-04-2019, 07:00 PM
    Thread: please help making a loop faster
Post: RE: please help making a loop faster

""" Inputs: - x_i: A numpy array of images of shape (H, W) - w_l: A numpy array of weights of shape (H, W) - b_l: A float (single number) Returns: - out: A float (single numb...
mrnapoli Data Science 10 4,102 Nov-04-2019, 06:35 PM
    Thread: please help making a loop faster
Post: RE: please help making a loop faster

In my case the inputs and outputs expected are as follow: - b_l : A float(single number) - cout: A float (single number) Therefore I receive ValueError: setting an array element with a sequence when...
mrnapoli Data Science 10 4,102 Nov-04-2019, 03:29 PM
    Thread: please help making a loop faster
Post: RE: please help making a loop faster

(Nov-04-2019, 02:33 PM)ThomasL Wrote: This was my first solution. This will already give you a speed boost. def forward_path_half_vectorized(x, w, b): """ Inputs: - x: A numpy array of ...
mrnapoli Data Science 10 4,102 Nov-04-2019, 02:57 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020