Package | Description |
---|---|
org.bytedeco.pytorch |
Modifier and Type | Method and Description |
---|---|
Example |
ExampleIterator.access()
Returns a pointer to the current batch.
|
Example |
ExampleCollation.apply_batch(ExampleVector input_batch)
Applies the transformation to the given
input_batch . |
Example |
ExampleVector.back() |
Example |
Example.data(Tensor setter) |
Example |
ExampleVector.front() |
Example |
MNISTMapDataset.get_batch_example(long... indices) |
Example |
MNISTMapDataset.get_batch_example(SizeTArrayRef indices)
Gets a batch from the source dataset and applies the transform to it,
returning the result.
|
Example[] |
ExampleVector.get() |
Example |
ExampleVector.Iterator.get() |
Example |
ExampleOptional.get() |
Example |
TensorDatasetBase.get(long index)
Returns the example at the given index.
|
Example |
ExampleVector.get(long i) |
Example |
MNISTDataset.get(long index)
Returns the example at the given index.
|
Example |
JavaDataset.get(long index) |
Example |
JavaDatasetBase.get(long index)
Returns the example at the given index.
|
Example |
TensorDataset.get(long index)
Returns a single
TensorExample . |
Example |
MNIST.get(long index)
Returns the
Example at the given index . |
Example |
Example.getPointer(long i) |
Example |
ExampleIterator.multiply()
Returns the current batch.
|
Example |
ExampleVector.pop_back() |
Example |
Example.position(long position) |
Example |
Example.target(Tensor setter) |
Modifier and Type | Method and Description |
---|---|
ExampleVector.Iterator |
ExampleVector.insert(ExampleVector.Iterator pos,
Example value) |
ExampleVector |
ExampleVector.push_back(Example value) |
ExampleVector |
ExampleVector.put(Example... array) |
ExampleVector |
ExampleVector.put(Example value) |
ExampleOptional |
ExampleOptional.put(Example value) |
ExampleVector |
ExampleVector.put(long i,
Example value) |
Constructor and Description |
---|
ExampleOptional(Example value) |
ExampleVector(Example... array) |
ExampleVector(Example value) |
Copyright © 2024. All rights reserved.