@Namespace(value="cv::dnn") @Properties(inherit=opencv_dnn.class) public class AttentionLayer extends Layer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
AttentionLayer()
Default native constructor.
|
AttentionLayer(long size)
Native array allocator.
|
AttentionLayer(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
static AttentionLayer |
create(LayerParams params) |
AttentionLayer |
getPointer(long i) |
AttentionLayer |
position(long position) |
applyHalideScheduler, asAlgorithm, asAlgorithm, blobs, blobs, finalize, finalize, finalize, finalize, finalize, forward_fallback, forward_fallback, forward_fallback, forward, forward, forward, forward, getFLOPS, getMemoryShapes, getScaleShift, getScaleZeropoint, getScaleZeropoint, getScaleZeropoint, inputNameToIndex, inputNameToIndex, name, name, outputNameToIndex, outputNameToIndex, preferableTarget, preferableTarget, run, setActivation, setParamsFrom, supportBackend, tryAttach, tryFuse, tryQuantize, type, type, unsetAttached, updateMemoryShapes
clear, empty, getDefaultName, read, save, save, write, write, write
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 AttentionLayer()
public AttentionLayer(long size)
Pointer.position(long)
.public AttentionLayer(Pointer p)
Pointer(Pointer)
.public AttentionLayer position(long position)
public AttentionLayer getPointer(long i)
getPointer
in class Layer
@opencv_core.Ptr public static AttentionLayer create(@Const @ByRef LayerParams params)
Copyright © 2024. All rights reserved.