Package org.robovm.apple.metalps
Interface MPSCNNConvolutionDataSource
- All Superinterfaces:
NSObjectProtocol,ObjCProtocol
- All Known Implementing Classes:
MPSCNNConvolutionDataSourceAdapter
public interface MPSCNNConvolutionDataSource extends NSObjectProtocol
-
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()
-
Method Details
-
dataType
MPSDataType dataType() -
descriptor
MPSCNNConvolutionDescriptor descriptor() -
weights
VoidPtr weights() -
biasTerms
FloatPtr biasTerms() -
load
boolean load() -
purge
void purge() -
label
String label() -
rangesForUInt8Kernel
VectorFloat2 rangesForUInt8Kernel() -
lookupTableForUInt8Kernel
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
- Since:
- Available in iOS 12.0 and later.
-
weightsLayout
MPSCNNConvolutionWeightsLayout weightsLayout()- Since:
- Available in iOS 13.0 and later.
-
kernelWeightsDataType
MPSDataType kernelWeightsDataType()- Since:
- Available in iOS 14.0 and later.
-