TorchLean API

NN.Runtime.Autograd.Torch.Core.Session.Random

Eager Random Tensors #

A session counter gives repeated seeded calls distinct keys, including calls after a tape reset. CPU and CUDA dispatch use the same key schedule.

Record a seeded uniform tensor using the session's next random key.

Instances For

    Deterministic {0,1} mask generator (seeded) with a scalar keep-probability input.

    Instances For