共用方式為


MPSCnnArithmetic.EncodeBatch 方法

定義

[Foundation.Export("encodeBatchToCommandBuffer:primaryImages:secondaryImages:destinationStates:destinationImages:")]
public virtual void EncodeBatch (Metal.IMTLCommandBuffer commandBuffer, Foundation.NSArray<MetalPerformanceShaders.MPSImage> primaryImages, Foundation.NSArray<MetalPerformanceShaders.MPSImage> secondaryImages, MetalPerformanceShaders.MPSCnnArithmeticGradientState[] destinationStates, Foundation.NSArray<MetalPerformanceShaders.MPSImage> destinationImages);
override this.EncodeBatch : Metal.IMTLCommandBuffer * Foundation.NSArray<MetalPerformanceShaders.MPSImage> * Foundation.NSArray<MetalPerformanceShaders.MPSImage> * MetalPerformanceShaders.MPSCnnArithmeticGradientState[] * Foundation.NSArray<MetalPerformanceShaders.MPSImage> -> unit

參數

commandBuffer
IMTLCommandBuffer
primaryImages
NSArray<MPSImage>
secondaryImages
NSArray<MPSImage>
destinationStates
MPSCnnArithmeticGradientState[]
destinationImages
NSArray<MPSImage>
屬性

適用於