Skip to content

How to use Forward function to calculate a zero order sweep. #128

Answered by ghost
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

@xeonz1 Did the message above answer your quesiton ? If so, would you please close this issue.

@bradbell Thanks for the reply. I have solved the problem above. However, I am running into another problem about codegen. In the generateSource part of zero order forward mode, It reports

GreaterThanZero cannot be called for non-parameters.
I debugged for a while and found this exception happens when GreaterThanZero is called in 'forward_levv_op_0'. Can you give me some instruction?

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@bradbell
Comment options

@ghost
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #127 on February 03, 2022 17:24.