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,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.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 Constructor Description MPSCNNConvolutionDataSourceAdapter() -
Method Summary
Modifier and Type Method Description FloatPtrbiasTerms()MPSCNNConvolutionDataSourcecopy(NSZone zone, MTLDevice device)MPSDataTypedataType()MPSCNNConvolutionDescriptordescriptor()MPSDataTypekernelWeightsDataType()Stringlabel()booleanload()FloatPtrlookupTableForUInt8Kernel()voidpurge()VectorFloat2rangesForUInt8Kernel()MPSCNNConvolutionWeightsAndBiasesStateupdate(MTLCommandBuffer commandBuffer, MPSCNNConvolutionGradientState gradientState, MPSCNNConvolutionWeightsAndBiasesState sourceState)booleanupdate(MPSCNNConvolutionGradientState gradientState, MPSCNNConvolutionWeightsAndBiasesState sourceState)VoidPtrweights()MPSCNNConvolutionWeightsLayoutweightsLayout()MPSCNNWeightsQuantizationTypeweightsQuantizationType()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
-
MPSCNNConvolutionDataSourceAdapter
public MPSCNNConvolutionDataSourceAdapter()
-
-
Method Details
-
dataType
- Specified by:
dataTypein interfaceMPSCNNConvolutionDataSource
-
descriptor
- Specified by:
descriptorin interfaceMPSCNNConvolutionDataSource
-
weights
- Specified by:
weightsin interfaceMPSCNNConvolutionDataSource
-
biasTerms
- Specified by:
biasTermsin interfaceMPSCNNConvolutionDataSource
-
load
public boolean load()- Specified by:
loadin interfaceMPSCNNConvolutionDataSource
-
purge
public void purge()- Specified by:
purgein interfaceMPSCNNConvolutionDataSource
-
label
- Specified by:
labelin interfaceMPSCNNConvolutionDataSource
-
rangesForUInt8Kernel
- Specified by:
rangesForUInt8Kernelin interfaceMPSCNNConvolutionDataSource
-
lookupTableForUInt8Kernel
- Specified by:
lookupTableForUInt8Kernelin interfaceMPSCNNConvolutionDataSource
-
weightsQuantizationType
- Specified by:
weightsQuantizationTypein interfaceMPSCNNConvolutionDataSource
-
update
public MPSCNNConvolutionWeightsAndBiasesState update(MTLCommandBuffer commandBuffer, MPSCNNConvolutionGradientState gradientState, MPSCNNConvolutionWeightsAndBiasesState sourceState)- Specified by:
updatein interfaceMPSCNNConvolutionDataSource- Since:
- Available in iOS 11.3 and later.
-
update
public boolean update(MPSCNNConvolutionGradientState gradientState, MPSCNNConvolutionWeightsAndBiasesState sourceState)- Specified by:
updatein interfaceMPSCNNConvolutionDataSource- Since:
- Available in iOS 11.3 and later.
-
copy
- Specified by:
copyin interfaceMPSCNNConvolutionDataSource- Since:
- Available in iOS 12.0 and later.
-
weightsLayout
- Specified by:
weightsLayoutin interfaceMPSCNNConvolutionDataSource- Since:
- Available in iOS 13.0 and later.
-
kernelWeightsDataType
- Specified by:
kernelWeightsDataTypein interfaceMPSCNNConvolutionDataSource- Since:
- Available in iOS 14.0 and later.
-