Package org.robovm.apple.metalpsgraph
Class MPSGraphPooling2DOpDescriptor
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.metalpsgraph.MPSGraphPooling2DOpDescriptor
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
public class MPSGraphPooling2DOpDescriptor extends NSObject
- Since:
- Available in iOS 14.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMPSGraphPooling2DOpDescriptor.MPSGraphPooling2DOpDescriptorPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description MPSGraphPooling2DOpDescriptor()MPSGraphPooling2DOpDescriptor(long kernelWidth, long kernelHeight, long strideInX, long strideInY, long dilationRateInX, long dilationRateInY, long paddingLeft, long paddingRight, long paddingTop, long paddingBottom, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout)MPSGraphPooling2DOpDescriptor(long kernelWidth, long kernelHeight, long strideInX, long strideInY, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout)protectedMPSGraphPooling2DOpDescriptor(NSObject.Handle h, long handle)protectedMPSGraphPooling2DOpDescriptor(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description protected static longcreate(long kernelWidth, long kernelHeight, long strideInX, long strideInY, long dilationRateInX, long dilationRateInY, long paddingLeft, long paddingRight, long paddingTop, long paddingBottom, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout)protected static longcreate(long kernelWidth, long kernelHeight, long strideInX, long strideInY, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout)MPSGraphTensorNamedDataLayoutgetDataLayout()longgetDilationRateInX()longgetDilationRateInY()longgetKernelHeight()longgetKernelWidth()longgetPaddingBottom()longgetPaddingLeft()longgetPaddingRight()MPSGraphPaddingStylegetPaddingStyle()longgetPaddingTop()longgetStrideInX()longgetStrideInY()booleanisCeilMode()booleanisIncludeZeroPadToAverage()voidsetCeilMode(boolean v)voidsetDataLayout(MPSGraphTensorNamedDataLayout v)voidsetDilationRateInX(long v)voidsetDilationRateInY(long v)voidsetExplicitPadding(long paddingLeft, long paddingRight, long paddingTop, long paddingBottom)voidsetIncludeZeroPadToAverage(boolean v)voidsetKernelHeight(long v)voidsetKernelWidth(long v)voidsetPaddingBottom(long v)voidsetPaddingLeft(long v)voidsetPaddingRight(long v)voidsetPaddingStyle(MPSGraphPaddingStyle v)voidsetPaddingTop(long v)voidsetStrideInX(long v)voidsetStrideInY(long v)Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
MPSGraphPooling2DOpDescriptor
public MPSGraphPooling2DOpDescriptor() -
MPSGraphPooling2DOpDescriptor
-
MPSGraphPooling2DOpDescriptor
-
MPSGraphPooling2DOpDescriptor
public MPSGraphPooling2DOpDescriptor(long kernelWidth, long kernelHeight, long strideInX, long strideInY, long dilationRateInX, long dilationRateInY, long paddingLeft, long paddingRight, long paddingTop, long paddingBottom, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout) -
MPSGraphPooling2DOpDescriptor
public MPSGraphPooling2DOpDescriptor(long kernelWidth, long kernelHeight, long strideInX, long strideInY, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout)
-
-
Method Details
-
getKernelWidth
public long getKernelWidth() -
setKernelWidth
public void setKernelWidth(long v) -
getKernelHeight
public long getKernelHeight() -
setKernelHeight
public void setKernelHeight(long v) -
getStrideInX
public long getStrideInX() -
setStrideInX
public void setStrideInX(long v) -
getStrideInY
public long getStrideInY() -
setStrideInY
public void setStrideInY(long v) -
getDilationRateInX
public long getDilationRateInX() -
setDilationRateInX
public void setDilationRateInX(long v) -
getDilationRateInY
public long getDilationRateInY() -
setDilationRateInY
public void setDilationRateInY(long v) -
getPaddingLeft
public long getPaddingLeft() -
setPaddingLeft
public void setPaddingLeft(long v) -
getPaddingRight
public long getPaddingRight() -
setPaddingRight
public void setPaddingRight(long v) -
getPaddingTop
public long getPaddingTop() -
setPaddingTop
public void setPaddingTop(long v) -
getPaddingBottom
public long getPaddingBottom() -
setPaddingBottom
public void setPaddingBottom(long v) -
getPaddingStyle
-
setPaddingStyle
-
getDataLayout
-
setDataLayout
-
isCeilMode
public boolean isCeilMode()- Since:
- Available in iOS 15.0 and later.
-
setCeilMode
public void setCeilMode(boolean v)- Since:
- Available in iOS 15.0 and later.
-
isIncludeZeroPadToAverage
public boolean isIncludeZeroPadToAverage()- Since:
- Available in iOS 15.0 and later.
-
setIncludeZeroPadToAverage
public void setIncludeZeroPadToAverage(boolean v)- Since:
- Available in iOS 15.0 and later.
-
setExplicitPadding
public void setExplicitPadding(long paddingLeft, long paddingRight, long paddingTop, long paddingBottom) -
create
protected static long create(long kernelWidth, long kernelHeight, long strideInX, long strideInY, long dilationRateInX, long dilationRateInY, long paddingLeft, long paddingRight, long paddingTop, long paddingBottom, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout) -
create
protected static long create(long kernelWidth, long kernelHeight, long strideInX, long strideInY, MPSGraphPaddingStyle paddingStyle, MPSGraphTensorNamedDataLayout dataLayout)
-