@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, blobs, blobs, finalize, finalize, finalize, finalize, finalize, forward_fallback, forward_fallback, forward_fallback, forward, forward, forward, forward, getFLOPS, getMemoryShapes, getScaleShift, inputNameToIndex, inputNameToIndex, name, name, outputNameToIndex, outputNameToIndex, position, preferableTarget, preferableTarget, run, setActivation, setParamsFrom, supportBackend, tryAttach, tryFuse, type, type, unsetAttached
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, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public PoolingLayer(Pointer p)
Pointer.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)
@Deprecated @ByRef public Size kernel()
public PoolingLayer kernel(Size setter)
@Deprecated @ByRef public Size stride()
public PoolingLayer stride(Size setter)
@Deprecated @ByRef public Size pad()
public PoolingLayer pad(Size setter)
@Deprecated public int pad_l()
public PoolingLayer pad_l(int setter)
@Deprecated public int pad_t()
public PoolingLayer pad_t(int setter)
@Deprecated public int pad_r()
public PoolingLayer pad_r(int setter)
@Deprecated public int pad_b()
public PoolingLayer pad_b(int 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 © 2020. All rights reserved.