Package org.robovm.apple.metalps
Class MPSCNNBinaryConvolution
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.metalps.MPSKernel
-
- org.robovm.apple.metalps.MPSCNNKernel
-
- org.robovm.apple.metalps.MPSCNNBinaryConvolution
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
MPSCNNBinaryFullyConnected
public class MPSCNNBinaryConvolution extends MPSCNNKernel
- Since:
- Available in iOS 11.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MPSCNNBinaryConvolution.MPSCNNBinaryConvolutionPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.metalps.MPSCNNKernel
MPSCNNKernel.MPSCNNKernelPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.metalps.MPSKernel
MPSKernel.MPSKernelPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description MPSCNNBinaryConvolution()
MPSCNNBinaryConvolution(NSCoder decoder)
MPSCNNBinaryConvolution(NSCoder aDecoder, MTLDevice device)
protected
MPSCNNBinaryConvolution(NSObject.Handle h, long handle)
protected
MPSCNNBinaryConvolution(NSObject.SkipInit skipInit)
MPSCNNBinaryConvolution(MTLDevice device, MPSCNNConvolutionDataSource convolutionData, float scaleValue, MPSCNNBinaryConvolutionType type, MPSCNNBinaryConvolutionFlags flags)
MPSCNNBinaryConvolution(MTLDevice device, MPSCNNConvolutionDataSource convolutionData, org.robovm.rt.bro.ptr.FloatPtr outputBiasTerms, org.robovm.rt.bro.ptr.FloatPtr outputScaleTerms, org.robovm.rt.bro.ptr.FloatPtr inputBiasTerms, org.robovm.rt.bro.ptr.FloatPtr inputScaleTerms, MPSCNNBinaryConvolutionType type, MPSCNNBinaryConvolutionFlags flags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getInputFeatureChannels()
long
getOutputFeatureChannels()
protected long
init(NSCoder aDecoder, MTLDevice device)
protected long
init(MTLDevice device, MPSCNNConvolutionDataSource convolutionData, float scaleValue, MPSCNNBinaryConvolutionType type, MPSCNNBinaryConvolutionFlags flags)
protected long
init(MTLDevice device, MPSCNNConvolutionDataSource convolutionData, org.robovm.rt.bro.ptr.FloatPtr outputBiasTerms, org.robovm.rt.bro.ptr.FloatPtr outputScaleTerms, org.robovm.rt.bro.ptr.FloatPtr inputBiasTerms, org.robovm.rt.bro.ptr.FloatPtr inputScaleTerms, MPSCNNBinaryConvolutionType type, MPSCNNBinaryConvolutionFlags flags)
-
Methods inherited from class org.robovm.apple.metalps.MPSCNNKernel
appendBatchBarrier, encode, encode, encode, encode, encodeBatch, encodeBatch, encodeBatch, encodeBatch, getClipRect, getDestinationFeatureChannelOffset, getDestinationImageAllocator, getDestinationImageDescriptor, getDilationRateX, getDilationRateY, getEdgeMode, getKernelHeight, getKernelWidth, getOffset, getPadding, getResultState, getResultStateBatch, getSourceFeatureChannelMaxCount, getSourceFeatureChannelOffset, getStrideInPixelsX, getStrideInPixelsY, getTemporaryResult, getTemporaryResultState, init, isBackwards, isResultStateReusedAcrossBatch, isStateModified, setClipRect, setDestinationFeatureChannelOffset, setDestinationImageAllocator, setEdgeMode, setOffset, setPadding, setSourceFeatureChannelMaxCount, setSourceFeatureChannelOffset
-
Methods inherited from class org.robovm.apple.metalps.MPSKernel
copy, encode, getDevice, getLabel, getOptions, init, setLabel, setOptions, supportsSecureCoding
-
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, willChangeValues
-
-
-
-
Constructor Detail
-
MPSCNNBinaryConvolution
public MPSCNNBinaryConvolution()
-
MPSCNNBinaryConvolution
protected MPSCNNBinaryConvolution(NSObject.Handle h, long handle)
-
MPSCNNBinaryConvolution
protected MPSCNNBinaryConvolution(NSObject.SkipInit skipInit)
-
MPSCNNBinaryConvolution
public MPSCNNBinaryConvolution(MTLDevice device, MPSCNNConvolutionDataSource convolutionData, float scaleValue, MPSCNNBinaryConvolutionType type, MPSCNNBinaryConvolutionFlags flags)
-
MPSCNNBinaryConvolution
public MPSCNNBinaryConvolution(MTLDevice device, MPSCNNConvolutionDataSource convolutionData, org.robovm.rt.bro.ptr.FloatPtr outputBiasTerms, org.robovm.rt.bro.ptr.FloatPtr outputScaleTerms, org.robovm.rt.bro.ptr.FloatPtr inputBiasTerms, org.robovm.rt.bro.ptr.FloatPtr inputScaleTerms, MPSCNNBinaryConvolutionType type, MPSCNNBinaryConvolutionFlags flags)
-
MPSCNNBinaryConvolution
public MPSCNNBinaryConvolution(NSCoder decoder)
-
-
Method Detail
-
getInputFeatureChannels
public long getInputFeatureChannels()
-
getOutputFeatureChannels
public long getOutputFeatureChannels()
-
init
protected long init(MTLDevice device, MPSCNNConvolutionDataSource convolutionData, float scaleValue, MPSCNNBinaryConvolutionType type, MPSCNNBinaryConvolutionFlags flags)
-
init
protected long init(MTLDevice device, MPSCNNConvolutionDataSource convolutionData, org.robovm.rt.bro.ptr.FloatPtr outputBiasTerms, org.robovm.rt.bro.ptr.FloatPtr outputScaleTerms, org.robovm.rt.bro.ptr.FloatPtr inputBiasTerms, org.robovm.rt.bro.ptr.FloatPtr inputScaleTerms, MPSCNNBinaryConvolutionType type, MPSCNNBinaryConvolutionFlags flags)
-
init
protected long init(NSCoder aDecoder, MTLDevice device)
- Overrides:
init
in classMPSCNNKernel
-
-