Skip to content

Gradient is being updated after upgradation of weights #12

@arpit-chakraborty

Description

@arpit-chakraborty

Image

The 'grad = grad @ layers[i][0].T' line should have been before ' layers[i][0] -= w_grad * lr
layers[i][1] -= b_grad * lr'

The weight is being upgraded before pulling the gradient through the layer.

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