| Declaration | |
|---|---|
| From | - (nonnull MPSCNNBatchNormalizationState *)updateGammaAndBetaWithCommandBuffer:(nullable id<MTLCommandBuffer>)commandBuffer batchNormalizationState:(nonnull MPSCNNBatchNormalizationState *)batchNormalizationState |
| To | - (nullable MPSCNNNormalizationGammaAndBetaState *)updateGammaAndBetaWithCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer batchNormalizationState:(nonnull MPSCNNBatchNormalizationState *)batchNormalizationState |
| Superclass | |
|---|---|
| From | MPSCNNBinaryKernel |
| To | MPSCNNGradientKernel |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | set fusedNeuronDescriptor property instead |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | use fusedNeuronDescriptor property instead |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | use fusedNeuronDescriptor property instead |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | use fusedNeuronDescriptor property instead |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | use fusedNeuronDescriptor property instead |
| Declaration | |
|---|---|
| From | - (nonnull MPSImage *)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceGradient:(nonnull MPSImage *)sourceGradient sourceImage:(nonnull MPSImage *)sourceImage gradientState:(nonnull MPSNNGradientState *)gradientState |
| To | - (nonnull MPSImage *)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceGradient:(nonnull MPSImage *)sourceGradient sourceImage:(nonnull MPSImage *)sourceImage gradientState:(nonnull MPSState *)gradientState |
| Declaration | |
|---|---|
| From | - (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceGradient:(nonnull MPSImage *)sourceGradient sourceImage:(nonnull MPSImage *)sourceImage gradientState:(nonnull MPSNNGradientState *)gradientState destinationGradient:(nonnull MPSImage *)destinationGradient |
| To | - (void)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceGradient:(nonnull MPSImage *)sourceGradient sourceImage:(nonnull MPSImage *)sourceImage gradientState:(nonnull MPSState *)gradientState destinationGradient:(nonnull MPSImage *)destinationGradient |
| Declaration | |
|---|---|
| From | - (nonnull MPSImageBatch *)encodeBatchToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceGradients:(nonnull MPSImageBatch *)sourceGradients sourceImages:(nonnull MPSImageBatch *)sourceImages gradientStates:(nonnull MPSNNGradientStateBatch *)gradientStates |
| To | - (nonnull MPSImageBatch *)encodeBatchToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceGradients:(nonnull MPSImageBatch *)sourceGradients sourceImages:(nonnull MPSImageBatch *)sourceImages gradientStates:(nonnull MPSStateBatch *)gradientStates |
| Declaration | |
|---|---|
| From | - (void)encodeBatchToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceGradients:(nonnull MPSImageBatch *)sourceGradients sourceImages:(nonnull MPSImageBatch *)sourceImages gradientStates:(nonnull MPSNNGradientStateBatch *)gradientStates destinationGradients:(nonnull MPSImageBatch *)destinationGradients |
| To | - (void)encodeBatchToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceGradients:(nonnull MPSImageBatch *)sourceGradients sourceImages:(nonnull MPSImageBatch *)sourceImages gradientStates:(nonnull MPSStateBatch *)gradientStates destinationGradients:(nonnull MPSImageBatch *)destinationGradients |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Please use -initWithDevice:resultImage:resultIsNeeded: instead. Without this information, too much or too little work may occur. Results may be undefined. |
| Declaration | |
|---|---|
| From | - (nonnull MPSImage *)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceImages:(nonnull NSArray<MPSImage *> *)sourceImages sourceStates:(nullable NSArray<MPSState *> *)sourceStates intermediateImages:(nullable NSMutableArray<MPSImage *> *)intermediateImages destinationStates:(nullable NSMutableArray<MPSState *> *)destinationStates |
| To | - (nullable MPSImage *)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceImages:(nonnull NSArray<MPSImage *> *)sourceImages sourceStates:(nullable NSArray<MPSState *> *)sourceStates intermediateImages:(nullable NSMutableArray<MPSImage *> *)intermediateImages destinationStates:(nullable NSMutableArray<MPSState *> *)destinationStates |
| Declaration | |
|---|---|
| From | - (nonnull MPSImageBatch *)encodeBatchToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceImages:(nonnull NSArray<MPSImageBatch *> *)sourceImages sourceStates:(nullable NSArray<MPSStateBatch *> *)sourceStates intermediateImages:(nullable NSMutableArray<MPSImageBatch *> *)intermediateImages destinationStates:(nullable NSMutableArray<MPSStateBatch *> *)destinationStates |
| To | - (nullable MPSImageBatch *)encodeBatchToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceImages:(nonnull NSArray<MPSImageBatch *> *)sourceImages sourceStates:(nullable NSArray<MPSStateBatch *> *)sourceStates intermediateImages:(nullable NSMutableArray<MPSImageBatch *> *)intermediateImages destinationStates:(nullable NSMutableArray<MPSStateBatch *> *)destinationStates |
| Declaration | |
|---|---|
| From | - (nonnull MPSImage *)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceImages:(nonnull NSArray<MPSImage *> *)sourceImages |
| To | - (nullable MPSImage *)encodeToCommandBuffer:(nonnull id<MTLCommandBuffer>)commandBuffer sourceImages:(nonnull NSArray<MPSImage *> *)sourceImages |
| Protocols | |
|---|---|
| From | none |
| To | MPSNNTrainableNode |
| Declaration | |
|---|---|
| From | + (nonnull instancetype)nodeWithSourceGradient:(nonnull MPSNNImageNode *)sourceGradient sourceImage:(nonnull MPSNNImageNode *)sourceImage convolutionGradientState:(nonnull MPSCNNConvolutionGradientStateNode *)gradientState weights:(nonnull id<MPSCNNConvolutionDataSource>)weights |
| To | + (nonnull instancetype)nodeWithSourceGradient:(nonnull MPSNNImageNode *)sourceGradient sourceImage:(nonnull MPSNNImageNode *)sourceImage convolutionGradientState:(nonnull MPSCNNConvolutionGradientStateNode *)gradientState weights:(nullable id<MPSCNNConvolutionDataSource>)weights |
| Declaration | |
|---|---|
| From | - (nonnull instancetype)initWithSourceGradient:(nonnull MPSNNImageNode *)sourceGradient sourceImage:(nonnull MPSNNImageNode *)sourceImage convolutionGradientState:(nonnull MPSCNNConvolutionGradientStateNode *)gradientState weights:(nonnull id<MPSCNNConvolutionDataSource>)weights |
| To | - (nonnull instancetype)initWithSourceGradient:(nonnull MPSNNImageNode *)sourceGradient sourceImage:(nonnull MPSNNImageNode *)sourceImage convolutionGradientState:(nonnull MPSCNNConvolutionGradientStateNode *)gradientState weights:(nullable id<MPSCNNConvolutionDataSource>)weights |
| Protocols | |
|---|---|
| From | none |
| To | MPSNNTrainableNode |