Skip to content

Remove size from distribution API #5754

Closed
@ricardoV94

Description

@ricardoV94

This was brought up in the last meeting, the question is whether there's any benefit in introducing size as a new parameter to our distributions. Size is simply shape[:-ndim_supp] so it's pretty easy for us to convert a user provided shape to size which Aesara RandomVariables use and will keep using internally.

We should decide this before we release V4. For some context on the distinction see this WIP PR #5746

For a more involved example where we are converting from shape/dims/observed to size, take a look at these PRs #5743 and #5690

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions