Skip to content

Defining rrules for high order functions #671

@hack-hard

Description

@hack-hard

Hi,
I have read the documentations for defining rrules and I am not sure how to define rrules for high order functions.
For example

gradient(x -> asyncmap(x -> exp(x), x),1:100)

Does not compile in Zygote due to the existence of some try catch clause. How do I implement the rrule?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions