Skip to content

[RELAY] Support Random Number Generator #6813

Description

@tqchen

This is a consolidated thread of relay's PRNG support. PRNG are usually considered as stateful, as a result, we will need to support the following features

  • Basic block normal form (allowing reading of ref in the begining of the basic block and write to write in the end)
  • Support reference in relay vm and AOT
  • Formalize the PRNG in the form of the ref and stateful update
  • Optionally: convert the stateful update into monad form where we explicitly pass prng state

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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