Skip to content

Instantly share code, notes, and snippets.

@angadsinghsandhu
Last active December 2, 2020 08:37
Show Gist options
  • Save angadsinghsandhu/62f3a98c080f35d47de416b70f65a57f to your computer and use it in GitHub Desktop.
Save angadsinghsandhu/62f3a98c080f35d47de416b70f65a57f to your computer and use it in GitHub Desktop.
predicting input values
# Predicting input values
def predict(self, num):
# setting input as the first layer
self.z0 = num
# forward propagating and returning the result
return self.forwardprop()[0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment