| Package | Description |
|---|---|
| org.bytedeco.pytorch | |
| org.bytedeco.pytorch.global |
| Modifier and Type | Method and Description |
|---|---|
OutputArchive |
OutputArchive.getPointer(long i) |
OutputArchive |
OutputArchive.position(long position) |
| Modifier and Type | Method and Description |
|---|---|
void |
ChunkStatefulDataset.save(OutputArchive archive)
Saves the statefulDataset's state to OutputArchive.
|
void |
JavaStatefulTensorDatasetBase.save(OutputArchive archive)
Saves the statefulDataset's state to OutputArchive.
|
void |
DistributedRandomSampler.save(OutputArchive archive)
Serializes the
DistributedRandomSampler to the archive. |
void |
LBFGS.save(OutputArchive archive) |
void |
Module.save(OutputArchive archive)
Serializes the
Module into the given OutputArchive. |
void |
AdamW.save(OutputArchive archive) |
void |
JavaStatefulDataset.save(OutputArchive archive) |
void |
ChunkStatefulTensorDataset.save(OutputArchive archive)
Saves the statefulDataset's state to OutputArchive.
|
void |
Optimizer.save(OutputArchive archive)
Serializes the optimizer state into the given
archive. |
void |
SGD.save(OutputArchive archive) |
void |
BatchSizeSampler.save(OutputArchive archive)
Serializes the
Sampler to the archive. |
void |
StreamSampler.save(OutputArchive archive)
Serializes the
StreamSampler to the archive. |
void |
Adagrad.save(OutputArchive archive) |
void |
ChunkDataset.save(OutputArchive archive) |
void |
SequentialSampler.save(OutputArchive archive)
Serializes the
SequentialSampler to the archive. |
void |
RandomSampler.save(OutputArchive archive)
Serializes the
RandomSampler to the archive. |
void |
DistributedSequentialSampler.save(OutputArchive archive)
Serializes the
DistributedSequentialSampler to the archive. |
void |
RMSprop.save(OutputArchive archive) |
void |
Adam.save(OutputArchive archive) |
void |
JavaStatefulTensorDataset.save(OutputArchive archive) |
void |
ChunkTensorDataset.save(OutputArchive archive) |
void |
JavaStatefulDatasetBase.save(OutputArchive archive)
Saves the statefulDataset's state to OutputArchive.
|
void |
Sampler.save(OutputArchive archive)
Serializes the
Sampler to the archive. |
void |
OutputArchive.write(BytePointer key,
OutputArchive nested_archive)
Writes a nested
OutputArchive under the given key to this
OutputArchive. |
void |
OutputArchive.write(String key,
OutputArchive nested_archive) |
| Constructor and Description |
|---|
OutputArchive(OutputArchive arg0) |
| Modifier and Type | Method and Description |
|---|---|
static OutputArchive |
torch.shiftLeft(OutputArchive archive,
Module module)
Serialize a
Module pointer into an OutputArchive. |
static OutputArchive |
torch.shiftLeft(OutputArchive archive,
Optimizer optimizer)
Serializes an
Optimizer into an OutputArchive. |
static OutputArchive |
torch.shiftLeft(OutputArchive archive,
Tensor tensor)
Deserializes a
Sampler from an InputArchive. |
| Modifier and Type | Method and Description |
|---|---|
static OutputArchive |
torch.shiftLeft(OutputArchive archive,
Module module)
Serialize a
Module pointer into an OutputArchive. |
static OutputArchive |
torch.shiftLeft(OutputArchive archive,
Optimizer optimizer)
Serializes an
Optimizer into an OutputArchive. |
static OutputArchive |
torch.shiftLeft(OutputArchive archive,
Tensor tensor)
Deserializes a
Sampler from an InputArchive. |
Copyright © 2024. All rights reserved.