manual_seed¶
torch.tvarant.manual_seed(seed) → None
Seeds the Tvarant generator only (does not call torch.manual_seed).
Seed the Tvarant generator only.
Does not call torch.manual_seed, which would re-enter
torch.tvarant.manual_seed_all and recurse.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
seed
|
int
|
Integer seed for the PrivateUse1 default generator. |
required |
Source code in torch_tvarant/tvarant/__init__.py
126 127 128 129 130 131 132 133 134 135 | |