Skip to content
Discussion options

You must be logged in to vote

Differentiation is generally only well-defined with respect to floating point values, and since the upper bound of a for loop is integer typed, there is no well-defined gradient.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lyg1597
Comment options

Answer selected by lyg1597
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants