Package org.robovm.apple.metalps
Interface MPSCNNBatchNormalizationDataSource
-
- All Superinterfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
- All Known Implementing Classes:
MPSCNNBatchNormalizationDataSourceAdapter
public interface MPSCNNBatchNormalizationDataSource extends NSObjectProtocol
- Since:
- Available in iOS 11.3 and later.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.robovm.rt.bro.ptr.FloatPtr
beta()
MPSCNNBatchNormalizationDataSource
copy(NSZone zone, MTLDevice device)
void
encode(NSCoder aCoder)
float
epsilon()
org.robovm.rt.bro.ptr.FloatPtr
gamma()
java.lang.String
label()
boolean
load()
org.robovm.rt.bro.ptr.FloatPtr
mean()
long
numberOfFeatureChannels()
void
purge()
MPSCNNNormalizationGammaAndBetaState
updateGammaAndBeta(MTLCommandBuffer commandBuffer, MPSCNNBatchNormalizationState batchNormalizationState)
boolean
updateGammaAndBeta(MPSCNNBatchNormalizationState batchNormalizationState)
MPSCNNNormalizationMeanAndVarianceState
updateMeanAndVariance(MTLCommandBuffer commandBuffer, MPSCNNBatchNormalizationState batchNormalizationState)
boolean
updateMeanAndVariance(MPSCNNBatchNormalizationState batchNormalizationState)
org.robovm.rt.bro.ptr.FloatPtr
variance()
-
-
-
Method Detail
-
numberOfFeatureChannels
long numberOfFeatureChannels()
-
gamma
org.robovm.rt.bro.ptr.FloatPtr gamma()
-
beta
org.robovm.rt.bro.ptr.FloatPtr beta()
-
mean
org.robovm.rt.bro.ptr.FloatPtr mean()
-
variance
org.robovm.rt.bro.ptr.FloatPtr variance()
-
load
boolean load()
-
purge
void purge()
-
label
java.lang.String label()
-
updateGammaAndBeta
MPSCNNNormalizationGammaAndBetaState updateGammaAndBeta(MTLCommandBuffer commandBuffer, MPSCNNBatchNormalizationState batchNormalizationState)
-
updateMeanAndVariance
MPSCNNNormalizationMeanAndVarianceState updateMeanAndVariance(MTLCommandBuffer commandBuffer, MPSCNNBatchNormalizationState batchNormalizationState)
- Since:
- Available in iOS 12.0 and later.
-
updateGammaAndBeta
boolean updateGammaAndBeta(MPSCNNBatchNormalizationState batchNormalizationState)
-
updateMeanAndVariance
boolean updateMeanAndVariance(MPSCNNBatchNormalizationState batchNormalizationState)
- Since:
- Available in iOS 12.0 and later.
-
epsilon
float epsilon()
-
encode
void encode(NSCoder aCoder)
-
copy
MPSCNNBatchNormalizationDataSource copy(NSZone zone, MTLDevice device)
- Since:
- Available in iOS 12.0 and later.
-
-