Skip to content

pullback on map(transform, colvec) breaks types #113

Closed
@theogf

Description

@theogf

Here is a MWE :

using KernelFunctions, Zygote
A = KernelFunctions.ColVecs(rand(10, 10))
t = ScaleTransform(rand())
typeof(map(t, A)) # ColVecs
v, g = pullback(map, t, A)
typeof(v) # Vector{Vector}

This make AD with Zygote not feasible at the moment.

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