Skip to content

[Feature Request] Choice spec #2712

Closed
Closed
@kurtamohler

Description

@kurtamohler

Motivation

Add a Choice spec that chooses between a stack of specs or non-tensor data.

Initially proposed here: #2698 (comment)

Solution

When generating a sample, Choice spec should choose between the specs in the stack and then generate a sample from that spec.

Alternatives

Additional context

Checklist

  • I have checked that there is no similar issue in the repo (required)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions