Package org.robovm.apple.metalps
Interface MPSCNNConvolutionDataSource
-
- All Superinterfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
- All Known Implementing Classes:
MPSCNNConvolutionDataSourceAdapter
public interface MPSCNNConvolutionDataSource extends NSObjectProtocol
-
-
Method Summary
All Methods Instance Methods Abstract 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()
-
-
-
Method Detail
-
dataType
MPSDataType dataType()
-
descriptor
MPSCNNConvolutionDescriptor descriptor()
-
weights
org.robovm.rt.bro.ptr.VoidPtr weights()
-
biasTerms
org.robovm.rt.bro.ptr.FloatPtr biasTerms()
-
load
boolean load()
-
purge
void purge()
-
label
java.lang.String label()
-
rangesForUInt8Kernel
VectorFloat2 rangesForUInt8Kernel()
-
lookupTableForUInt8Kernel
org.robovm.rt.bro.ptr.FloatPtr lookupTableForUInt8Kernel()
-
weightsQuantizationType
MPSCNNWeightsQuantizationType weightsQuantizationType()
-
update
MPSCNNConvolutionWeightsAndBiasesState update(MTLCommandBuffer commandBuffer, MPSCNNConvolutionGradientState gradientState, MPSCNNConvolutionWeightsAndBiasesState sourceState)
- Since:
- Available in iOS 11.3 and later.
-
update
boolean update(MPSCNNConvolutionGradientState gradientState, MPSCNNConvolutionWeightsAndBiasesState sourceState)
- Since:
- Available in iOS 11.3 and later.
-
copy
MPSCNNConvolutionDataSource copy(NSZone zone, MTLDevice device)
- Since:
- Available in iOS 12.0 and later.
-
-