Skip to content

Censored.from_dict doesn't work with TensorVariable array #505

Open
@williambdean

Description

@williambdean

The round trip doesn't work when either lower or upper are TensorVariable arrays. They are translated to lists which are not handled at init

https://github.com/pymc-labs/pymc-marketing/blob/441aa8093c63e558ac5bd40eba178c92a6c71061/pymc_marketing/prior.py?plain=1#L1223-L1231

We should either handle at initialization or in the from_dict method directly


This issue was transferred from pymc-labs/pymc-marketing#1646

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