EnzymeAD / EnzymeAD/Enzyme

Add Unknown/NoShadow activity

Open
#605 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
LLVM
Stars
1.7k
Forks
188
Avg merge
1d 22h
Merged PRs (30d)
26

Description

In a session with @boriskaus, I had the issue that I wasn't sure if a gradient was zero, because it was zero, -- or because it was propagated through Memory annotated as `Const`. IIUC user provided annotation are strong and as such Enzyme will do as the user said.

For the default in Enzyme.jl I would like to say: No information provided, if you need to store gradient information to the shadow of this input, throw an error and the user must annotate it either Const or Duplicated

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.