MLCustomLayer_Extensions.Encode 方法

定义

通过将 应用于 描述的函数来设置 。

public static bool Encode (this CoreML.IMLCustomLayer This, Metal.IMTLCommandBuffer commandBuffer, Metal.IMTLTexture[] inputs, Metal.IMTLTexture[] outputs, out Foundation.NSError error);
static member Encode : CoreML.IMLCustomLayer * Metal.IMTLCommandBuffer * Metal.IMTLTexture[] * Metal.IMTLTexture[] *  -> bool

参数

commandBuffer
IMTLCommandBuffer
inputs
IMTLTexture[]
outputs
IMTLTexture[]
error
NSError

返回

适用于