Package org.robovm.apple.metalps
Class MPSCNNConvolutionDescriptor
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.metalps.MPSCNNConvolutionDescriptor
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
- Direct Known Subclasses:
MPSCNNDepthWiseConvolutionDescriptor,MPSCNNSubPixelConvolutionDescriptor
public class MPSCNNConvolutionDescriptor extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 10.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMPSCNNConvolutionDescriptor.MPSCNNConvolutionDescriptorPtrNested 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
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description MPSCNNConvolutionDescriptor()MPSCNNConvolutionDescriptor(long kernelWidth, long kernelHeight, long inputFeatureChannels, long outputFeatureChannels)MPSCNNConvolutionDescriptor(long kernelWidth, long kernelHeight, long inputFeatureChannels, long outputFeatureChannels, MPSCNNNeuron neuronFilter)Deprecated.Deprecated in iOS 11.0.MPSCNNConvolutionDescriptor(NSCoder coder)protectedMPSCNNConvolutionDescriptor(NSObject.Handle h, long handle)protectedMPSCNNConvolutionDescriptor(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description protected static longcreate(long kernelWidth, long kernelHeight, long inputFeatureChannels, long outputFeatureChannels)protected static longcreate(long kernelWidth, long kernelHeight, long inputFeatureChannels, long outputFeatureChannels, MPSCNNNeuron neuronFilter)Deprecated.Deprecated in iOS 11.0.voidencode(NSCoder coder)longgetDilationRateX()longgetDilationRateY()MPSNNNeuronDescriptorgetFusedNeuronDescriptor()longgetGroups()longgetInputFeatureChannels()longgetKernelHeight()longgetKernelWidth()MPSCNNNeurongetNeuron()Deprecated.Deprecated in iOS 11.0.longgetOutputFeatureChannels()longgetStrideInPixelsX()longgetStrideInPixelsY()protected longinit(NSCoder coder)floatneuronParameterA()Deprecated.Deprecated in iOS 11.3.floatneuronParameterB()Deprecated.Deprecated in iOS 11.3.MPSCNNNeuronTypeneuronType()Deprecated.Deprecated in iOS 11.3.voidsetBatchNormalizationParameters(FloatPtr mean, FloatPtr variance, FloatPtr gamma, FloatPtr beta, float epsilon)voidsetDilationRateX(long v)voidsetDilationRateY(long v)voidsetFusedNeuronDescriptor(MPSNNNeuronDescriptor v)voidsetGroups(long v)voidsetInputFeatureChannels(long v)voidsetKernelHeight(long v)voidsetKernelWidth(long v)voidsetNeuron(MPSCNNNeuron v)Deprecated.Deprecated in iOS 11.0.voidsetNeuronToPReLU(NSData A)Deprecated.Deprecated in iOS 11.3.voidsetNeuronType(MPSCNNNeuronType neuronType, float parameterA, float parameterB)Deprecated.Deprecated in iOS 11.3.voidsetOutputFeatureChannels(long v)voidsetStrideInPixelsX(long v)voidsetStrideInPixelsY(long v)static booleansupportsSecureCoding()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, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
MPSCNNConvolutionDescriptor
public MPSCNNConvolutionDescriptor() -
MPSCNNConvolutionDescriptor
-
MPSCNNConvolutionDescriptor
-
MPSCNNConvolutionDescriptor
- Since:
- Available in iOS 11.0 and later.
-
MPSCNNConvolutionDescriptor
@Deprecated public MPSCNNConvolutionDescriptor(long kernelWidth, long kernelHeight, long inputFeatureChannels, long outputFeatureChannels, MPSCNNNeuron neuronFilter)Deprecated.Deprecated in iOS 11.0. Use Please use neuronType, neuronParameterA and neuronParameterB properties instead.- Since:
- Available in iOS 10.0 and later.
-
MPSCNNConvolutionDescriptor
public MPSCNNConvolutionDescriptor(long kernelWidth, long kernelHeight, long inputFeatureChannels, long outputFeatureChannels)- Since:
- Available in iOS 11.0 and later.
-
-
Method Details
-
getKernelWidth
public long getKernelWidth() -
setKernelWidth
public void setKernelWidth(long v) -
getKernelHeight
public long getKernelHeight() -
setKernelHeight
public void setKernelHeight(long v) -
getInputFeatureChannels
public long getInputFeatureChannels() -
setInputFeatureChannels
public void setInputFeatureChannels(long v) -
getOutputFeatureChannels
public long getOutputFeatureChannels() -
setOutputFeatureChannels
public void setOutputFeatureChannels(long v) -
getStrideInPixelsX
public long getStrideInPixelsX() -
setStrideInPixelsX
public void setStrideInPixelsX(long v) -
getStrideInPixelsY
public long getStrideInPixelsY() -
setStrideInPixelsY
public void setStrideInPixelsY(long v) -
getGroups
public long getGroups() -
setGroups
public void setGroups(long v) -
getDilationRateX
public long getDilationRateX() -
setDilationRateX
public void setDilationRateX(long v) -
getDilationRateY
public long getDilationRateY() -
setDilationRateY
public void setDilationRateY(long v) -
getFusedNeuronDescriptor
- Since:
- Available in iOS 11.3 and later.
-
setFusedNeuronDescriptor
- Since:
- Available in iOS 11.3 and later.
-
getNeuron
Deprecated.Deprecated in iOS 11.0. Use A MPSCNNNeuron:MPSKernel is much too heavy an object to represent what is a type code and two floats. It is deprecated. Please set fusedNeuronDescriptor property instead.- Since:
- Available in iOS 10.0 and later.
-
setNeuron
Deprecated.Deprecated in iOS 11.0. Use A MPSCNNNeuron:MPSKernel is much too heavy an object to represent what is a type code and two floats. It is deprecated. Please set fusedNeuronDescriptor property instead.- Since:
- Available in iOS 10.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding()- Since:
- Available in iOS 11.0 and later.
-
encode
-
init
- Since:
- Available in iOS 11.0 and later.
-
setBatchNormalizationParameters
public void setBatchNormalizationParameters(FloatPtr mean, FloatPtr variance, FloatPtr gamma, FloatPtr beta, float epsilon)- Since:
- Available in iOS 11.0 and later.
-
setNeuronType
@Deprecated public void setNeuronType(MPSCNNNeuronType neuronType, float parameterA, float parameterB)Deprecated.Deprecated in iOS 11.3. Use set fusedNeuronDescriptor property instead- Since:
- Available in iOS 11.0 and later.
-
neuronType
Deprecated.Deprecated in iOS 11.3. use fusedNeuronDescriptor property instead- Since:
- Available in iOS 11.0 and later.
-
neuronParameterA
Deprecated.Deprecated in iOS 11.3. use fusedNeuronDescriptor property instead- Since:
- Available in iOS 11.0 and later.
-
neuronParameterB
Deprecated.Deprecated in iOS 11.3. use fusedNeuronDescriptor property instead- Since:
- Available in iOS 11.0 and later.
-
setNeuronToPReLU
Deprecated.Deprecated in iOS 11.3. use fusedNeuronDescriptor property instead- Since:
- Available in iOS 11.0 and later.
-
create
@Deprecated protected static long create(long kernelWidth, long kernelHeight, long inputFeatureChannels, long outputFeatureChannels, MPSCNNNeuron neuronFilter)Deprecated.Deprecated in iOS 11.0. Use Please use neuronType, neuronParameterA and neuronParameterB properties instead.- Since:
- Available in iOS 10.0 and later.
-
create
protected static long create(long kernelWidth, long kernelHeight, long inputFeatureChannels, long outputFeatureChannels)- Since:
- Available in iOS 11.0 and later.
-