Package org.robovm.apple.metalps
Class MPSCNNConvolutionDataSourceAdapter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.metalps.MPSCNNConvolutionDataSourceAdapter
-
- All Implemented Interfaces:
NSObjectProtocol
,MPSCNNConvolutionDataSource
,org.robovm.objc.ObjCProtocol
public class MPSCNNConvolutionDataSourceAdapter extends NSObject implements MPSCNNConvolutionDataSource
-
-
Nested Class Summary
-
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 Constructor Description MPSCNNConvolutionDataSourceAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.robovm.rt.bro.ptr.FloatPtr
biasTerms()
MPSCNNConvolutionDataSource
copy(NSZone zone, MTLDevice device)
MPSDataType
dataType()
MPSCNNConvolutionDescriptor
descriptor()
java.lang.String
label()
boolean
load()
org.robovm.rt.bro.ptr.FloatPtr
lookupTableForUInt8Kernel()
void
purge()
VectorFloat2
rangesForUInt8Kernel()
MPSCNNConvolutionWeightsAndBiasesState
update(MTLCommandBuffer commandBuffer, MPSCNNConvolutionGradientState gradientState, MPSCNNConvolutionWeightsAndBiasesState sourceState)
boolean
update(MPSCNNConvolutionGradientState gradientState, MPSCNNConvolutionWeightsAndBiasesState sourceState)
org.robovm.rt.bro.ptr.VoidPtr
weights()
MPSCNNWeightsQuantizationType
weightsQuantizationType()
-
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
-
-
-
-
Method Detail
-
dataType
public MPSDataType dataType()
- Specified by:
dataType
in interfaceMPSCNNConvolutionDataSource
-
descriptor
public MPSCNNConvolutionDescriptor descriptor()
- Specified by:
descriptor
in interfaceMPSCNNConvolutionDataSource
-
weights
public org.robovm.rt.bro.ptr.VoidPtr weights()
- Specified by:
weights
in interfaceMPSCNNConvolutionDataSource
-
biasTerms
public org.robovm.rt.bro.ptr.FloatPtr biasTerms()
- Specified by:
biasTerms
in interfaceMPSCNNConvolutionDataSource
-
load
public boolean load()
- Specified by:
load
in interfaceMPSCNNConvolutionDataSource
-
purge
public void purge()
- Specified by:
purge
in interfaceMPSCNNConvolutionDataSource
-
label
public java.lang.String label()
- Specified by:
label
in interfaceMPSCNNConvolutionDataSource
-
rangesForUInt8Kernel
public VectorFloat2 rangesForUInt8Kernel()
- Specified by:
rangesForUInt8Kernel
in interfaceMPSCNNConvolutionDataSource
-
lookupTableForUInt8Kernel
public org.robovm.rt.bro.ptr.FloatPtr lookupTableForUInt8Kernel()
- Specified by:
lookupTableForUInt8Kernel
in interfaceMPSCNNConvolutionDataSource
-
weightsQuantizationType
public MPSCNNWeightsQuantizationType weightsQuantizationType()
- Specified by:
weightsQuantizationType
in interfaceMPSCNNConvolutionDataSource
-
update
public MPSCNNConvolutionWeightsAndBiasesState update(MTLCommandBuffer commandBuffer, MPSCNNConvolutionGradientState gradientState, MPSCNNConvolutionWeightsAndBiasesState sourceState)
- Specified by:
update
in interfaceMPSCNNConvolutionDataSource
- Since:
- Available in iOS 11.3 and later.
-
update
public boolean update(MPSCNNConvolutionGradientState gradientState, MPSCNNConvolutionWeightsAndBiasesState sourceState)
- Specified by:
update
in interfaceMPSCNNConvolutionDataSource
- Since:
- Available in iOS 11.3 and later.
-
copy
public MPSCNNConvolutionDataSource copy(NSZone zone, MTLDevice device)
- Specified by:
copy
in interfaceMPSCNNConvolutionDataSource
- Since:
- Available in iOS 12.0 and later.
-
-