| Package | Description |
|---|---|
| org.bytedeco.pytorch |
| Modifier and Type | Method and Description |
|---|---|
QuantizerPtr |
QuantizerPtr.getPointer(long i) |
QuantizerPtr |
Quantizer.intrusive_from_this() |
QuantizerPtr |
QuantizerPtr.position(long position) |
QuantizerPtr |
QuantizerPtr.put(QuantizerPtr rhs) |
QuantizerPtr |
TensorBase.quantizer()
If a tensor is a quantized tensor, returns its quantizer
TODO: it's not in native_functions.yaml yet as it's not exposed to python
|
static QuantizerPtr |
QuantizerPtr.reclaim_copy(Quantizer owning_ptr)
Takes an owning pointer to TTarget* and creates an intrusive_ptr
representing a new reference, i.e.
|
static QuantizerPtr |
QuantizerPtr.reclaim(Quantizer owning_ptr)
Takes an owning pointer to TTarget* and creates an intrusive_ptr that takes
over ownership.
|
QuantizerPtr |
IValue.toQuantizer() |
static QuantizerPtr |
QuantizerPtr.unsafe_adapt_non_heap_allocated(Quantizer raw_ptr,
long expected_decrefs)
Turn an instance of TTarget that should not be reference counted
(e.g., allocated into an arena with placement new) into an
intrusive_ptr.
|
static QuantizerPtr |
QuantizerPtr.unsafe_reclaim_from_nonowning(Quantizer raw_ptr)
Turn a **non-owning raw pointer** to an intrusive_ptr.
|
static QuantizerPtr |
QuantizerPtr.unsafe_steal_from_new(Quantizer raw_ptr)
Turn a new instance of TTarget (e.g., literally allocated
using new TTarget(...) into an intrusive_ptr.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Quantizer.equalTo(QuantizerPtr other)
Compare against
other for equality. |
QuantizerPtr |
QuantizerPtr.put(QuantizerPtr rhs) |
void |
QuantizerPtr.swap(QuantizerPtr rhs) |
| Constructor and Description |
|---|
IValue(QuantizerPtr v) |
QuantizerPtr(QuantizerPtr rhs) |
Copyright © 2024. All rights reserved.