Skip to content

Use views in concretization #49

@phipsgabler

Description

@phipsgabler

To concretize, we need the runtime shapes, and to get them, we actually apply the lenses:

x_inner = get(x, I.outer)

It would be good if this were only views. Related: TuringLang/DynamicPPL.jl#341

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