| Package | Description |
|---|---|
| org.bytedeco.pytorch | |
| org.bytedeco.pytorch.global |
| Modifier and Type | Method and Description |
|---|---|
Generator |
Generator.clone() |
Generator |
Context.defaultGenerator(Device device) |
Generator |
GeneratorOptional.get() |
Generator |
CUDAHooksInterface.getDefaultCUDAGenerator() |
Generator |
CUDAHooksInterface.getDefaultCUDAGenerator(byte device_index) |
Generator |
PrivateUse1HooksInterface.getDefaultGenerator(byte device_index) |
Generator |
MPSHooksInterface.getDefaultMPSGenerator() |
Generator |
Generator.getPointer(long i) |
Generator |
Generator.position(long position) |
Generator |
IValue.toGenerator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Generator.equals(Generator rhs) |
boolean |
Generator.notEquals(Generator rhs) |
GeneratorOptional |
GeneratorOptional.put(Generator value) |
| Constructor and Description |
|---|
GeneratorOptional(Generator value) |
IValue(Generator g) |
| Modifier and Type | Method and Description |
|---|---|
static Generator |
torch.createCPUGenerator() |
static Generator |
torch.createCPUGenerator(long seed_val) |
static Generator |
torch.getDefaultCPUGenerator() |
static Generator |
torch.make_generator_cpu() |
static Generator |
torch.make_generator_cpu(long seed_in) |
static Generator |
torch_cuda.make_generator_cuda() |
static Generator |
torch_cuda.make_generator_cuda(byte device_index) |
Copyright © 2024. All rights reserved.