Package org.robovm.apple.metalps
Class MPSCNNConvolutionWeightsAndBiasesState
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.metalps.MPSState
-
- org.robovm.apple.metalps.MPSCNNConvolutionWeightsAndBiasesState
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class MPSCNNConvolutionWeightsAndBiasesState extends MPSState
- Since:
- Available in iOS 11.3 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MPSCNNConvolutionWeightsAndBiasesState.MPSCNNConvolutionWeightsAndBiasesStatePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.metalps.MPSState
MPSState.MPSStatePtr
-
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 protected
MPSCNNConvolutionWeightsAndBiasesState()
MPSCNNConvolutionWeightsAndBiasesState(NSArray<?> resources)
protected
MPSCNNConvolutionWeightsAndBiasesState(NSObject.Handle h, long handle)
protected
MPSCNNConvolutionWeightsAndBiasesState(NSObject.SkipInit skipInit)
MPSCNNConvolutionWeightsAndBiasesState(MTLBuffer weights, MTLBuffer biases)
MPSCNNConvolutionWeightsAndBiasesState(MTLCommandBuffer commandBuffer, MPSCNNConvolutionDescriptor descriptor)
MPSCNNConvolutionWeightsAndBiasesState(MTLDevice device, long bufferSize)
MPSCNNConvolutionWeightsAndBiasesState(MTLDevice device, MTLTextureDescriptor descriptor)
MPSCNNConvolutionWeightsAndBiasesState(MTLDevice device, MPSCNNConvolutionDescriptor descriptor)
MPSCNNConvolutionWeightsAndBiasesState(MTLDevice device, MPSStateResourceList resourceList)
MPSCNNConvolutionWeightsAndBiasesState(MTLResource resource)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static long
create(MTLCommandBuffer commandBuffer, MPSCNNConvolutionDescriptor descriptor)
MTLBuffer
getBiases()
MTLBuffer
getWeights()
protected long
init(MTLBuffer weights, MTLBuffer biases)
protected long
init(MTLDevice device, MPSCNNConvolutionDescriptor descriptor)
-
Methods inherited from class org.robovm.apple.metalps.MPSState
bufferSizeAtIndex, create, create, create, create, getDestinationImageDescriptor, getLabel, getReadCount, getResource, getResource, getResourceCount, init, init, init, init, init, isTemporary, resourceSize, resourceTypeAtIndex, setLabel, setReadCount, synchronizeOnCommandBuffer, textureInfoAtIndex
-
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
-
MPSCNNConvolutionWeightsAndBiasesState
protected MPSCNNConvolutionWeightsAndBiasesState()
-
MPSCNNConvolutionWeightsAndBiasesState
protected MPSCNNConvolutionWeightsAndBiasesState(NSObject.Handle h, long handle)
-
MPSCNNConvolutionWeightsAndBiasesState
protected MPSCNNConvolutionWeightsAndBiasesState(NSObject.SkipInit skipInit)
-
MPSCNNConvolutionWeightsAndBiasesState
public MPSCNNConvolutionWeightsAndBiasesState(MTLBuffer weights, MTLBuffer biases)
-
MPSCNNConvolutionWeightsAndBiasesState
public MPSCNNConvolutionWeightsAndBiasesState(MTLDevice device, MPSCNNConvolutionDescriptor descriptor)
-
MPSCNNConvolutionWeightsAndBiasesState
public MPSCNNConvolutionWeightsAndBiasesState(MTLCommandBuffer commandBuffer, MPSCNNConvolutionDescriptor descriptor)
-
MPSCNNConvolutionWeightsAndBiasesState
public MPSCNNConvolutionWeightsAndBiasesState(MTLDevice device, long bufferSize)
-
MPSCNNConvolutionWeightsAndBiasesState
public MPSCNNConvolutionWeightsAndBiasesState(MTLDevice device, MTLTextureDescriptor descriptor)
-
MPSCNNConvolutionWeightsAndBiasesState
public MPSCNNConvolutionWeightsAndBiasesState(MTLResource resource)
-
MPSCNNConvolutionWeightsAndBiasesState
public MPSCNNConvolutionWeightsAndBiasesState(MTLDevice device, MPSStateResourceList resourceList)
- Since:
- Available in iOS 11.3 and later.
-
MPSCNNConvolutionWeightsAndBiasesState
public MPSCNNConvolutionWeightsAndBiasesState(NSArray<?> resources)
-
-
Method Detail
-
getWeights
public MTLBuffer getWeights()
-
getBiases
public MTLBuffer getBiases()
-
init
protected long init(MTLDevice device, MPSCNNConvolutionDescriptor descriptor)
-
create
protected static long create(MTLCommandBuffer commandBuffer, MPSCNNConvolutionDescriptor descriptor)
-
-