@Properties(inherit=tensorflowlite.class) public class TfLiteAffineQuantization extends Pointer
real_value = scale * (quantized_value - zero_point)
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TfLiteAffineQuantization()
Default native constructor.
|
TfLiteAffineQuantization(long size)
Native array allocator.
|
TfLiteAffineQuantization(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
TfLiteAffineQuantization |
getPointer(long i) |
TfLiteAffineQuantization |
position(long position) |
int |
quantized_dimension() |
TfLiteAffineQuantization |
quantized_dimension(int setter) |
TfLiteFloatArray |
scale() |
TfLiteAffineQuantization |
scale(TfLiteFloatArray setter) |
TfLiteIntArray |
zero_point() |
TfLiteAffineQuantization |
zero_point(TfLiteIntArray setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public TfLiteAffineQuantization()
public TfLiteAffineQuantization(long size)
Pointer.position(long)
.public TfLiteAffineQuantization(Pointer p)
Pointer(Pointer)
.public TfLiteAffineQuantization position(long position)
public TfLiteAffineQuantization getPointer(long i)
getPointer
in class Pointer
public TfLiteFloatArray scale()
public TfLiteAffineQuantization scale(TfLiteFloatArray setter)
public TfLiteIntArray zero_point()
public TfLiteAffineQuantization zero_point(TfLiteIntArray setter)
public int quantized_dimension()
public TfLiteAffineQuantization quantized_dimension(int setter)
Copyright © 2025. All rights reserved.