@Namespace(value="cv::dnn") @NoOffset public static class opencv_dnn.PoolingLayer extends opencv_dnn.Layer
| Constructor and Description |
|---|
PoolingLayer(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
applyHalideScheduler, blobs, blobs, finalize, finalize, finalize, forward_fallback, forward_fallback, forward_fallback, forward, forward, forward, forward, getFLOPS, getMemoryShapes, getScaleShift, inputNameToIndex, inputNameToIndex, name, name, outputNameToIndex, outputNameToIndex, preferableTarget, preferableTarget, run, setActivation, setParamsFrom, supportBackend, tryAttach, tryFuse, type, type, unsetAttachedclear, empty, getDefaultName, position, read, save, save, write, write, writeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic PoolingLayer(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).@Name(value="type") public int poolingType()
public opencv_dnn.PoolingLayer poolingType(int poolingType)
@ByRef public opencv_core.Size kernel()
public opencv_dnn.PoolingLayer kernel(opencv_core.Size kernel)
@ByRef public opencv_core.Size stride()
public opencv_dnn.PoolingLayer stride(opencv_core.Size stride)
@ByRef public opencv_core.Size pad()
public opencv_dnn.PoolingLayer pad(opencv_core.Size pad)
@Cast(value="bool") public boolean globalPooling()
public opencv_dnn.PoolingLayer globalPooling(boolean globalPooling)
@Cast(value="bool") public boolean computeMaxIdx()
public opencv_dnn.PoolingLayer computeMaxIdx(boolean computeMaxIdx)
@opencv_core.Str public org.bytedeco.javacpp.BytePointer padMode()
public opencv_dnn.PoolingLayer padMode(org.bytedeco.javacpp.BytePointer padMode)
@Cast(value="bool") public boolean ceilMode()
public opencv_dnn.PoolingLayer ceilMode(boolean ceilMode)
@Cast(value="bool") public boolean avePoolPaddedArea()
public opencv_dnn.PoolingLayer avePoolPaddedArea(boolean avePoolPaddedArea)
@ByRef public opencv_core.Size pooledSize()
public opencv_dnn.PoolingLayer pooledSize(opencv_core.Size pooledSize)
public float spatialScale()
public opencv_dnn.PoolingLayer spatialScale(float spatialScale)
public int psRoiOutChannels()
public opencv_dnn.PoolingLayer psRoiOutChannels(int psRoiOutChannels)
@opencv_core.Ptr public static opencv_dnn.PoolingLayer create(@Const @ByRef opencv_dnn.LayerParams params)
Copyright © 2018. All rights reserved.