Skip to content

type hint that factor can be a np.array  #576

@williambdean

Description

@williambdean

The factor just needs to multiply in the create_variable method. TensorVariable and float only is too specific

def __init__(self, dist: Prior, factor: float | pt.TensorVariable) -> None:
self.dist = dist
self.factor = factor

CC: @cluhmann

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions