@Namespace(value="cv::dnn") @NoOffset @Properties(inherit=opencv_dnn.class) public class PoolingLayer extends Layer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
PoolingLayer(Pointer p)
Pointer cast constructor.
|
applyHalideScheduler, asAlgorithm, asAlgorithm, blobs, blobs, finalize, finalize, finalize, finalize, finalize, forward_fallback, forward_fallback, forward_fallback, forward, forward, forward, forward, getFLOPS, getMemoryShapes, getPointer, getScaleShift, getScaleZeropoint, getScaleZeropoint, getScaleZeropoint, inputNameToIndex, inputNameToIndex, name, name, outputNameToIndex, outputNameToIndex, position, 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 PoolingLayer(Pointer p)
Pointer(Pointer)
.public PoolingLayer poolingType(int setter)
@Cast(value="size_t*") @StdVector public SizeTPointer kernel_size()
public PoolingLayer kernel_size(SizeTPointer setter)
@Cast(value="size_t*") @StdVector public SizeTPointer strides()
public PoolingLayer strides(SizeTPointer setter)
@Cast(value="size_t*") @StdVector public SizeTPointer pads_begin()
public PoolingLayer pads_begin(SizeTPointer setter)
@Cast(value="size_t*") @StdVector public SizeTPointer pads_end()
public PoolingLayer pads_end(SizeTPointer setter)
@Cast(value="bool") public boolean globalPooling()
public PoolingLayer globalPooling(boolean setter)
@Cast(value="bool*") @StdVector public BoolPointer isGlobalPooling()
public PoolingLayer isGlobalPooling(BoolPointer setter)
public PoolingLayer computeMaxIdx(boolean setter)
@opencv_core.Str public BytePointer padMode()
public PoolingLayer padMode(BytePointer setter)
public PoolingLayer ceilMode(boolean setter)
public PoolingLayer avePoolPaddedArea(boolean setter)
public PoolingLayer pooledSize(Size setter)
public float spatialScale()
public PoolingLayer spatialScale(float setter)
public int psRoiOutChannels()
public PoolingLayer psRoiOutChannels(int setter)
@opencv_core.Ptr public static PoolingLayer create(@Const @ByRef LayerParams params)
Copyright © 2024. All rights reserved.