MLCustomLayer_Extensions.Encode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets outputs by applying inputs to the function described by commandBuffer.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static bool Encode(this CoreML.IMLCustomLayer This, Metal.IMTLCommandBuffer commandBuffer, Metal.IMTLTexture[] inputs, Metal.IMTLTexture[] outputs, out Foundation.NSError? error);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Encode : CoreML.IMLCustomLayer * Metal.IMTLCommandBuffer * Metal.IMTLTexture[] * Metal.IMTLTexture[] * NSError -> bool
Parameters
- This
- IMLCustomLayer
- commandBuffer
- IMTLCommandBuffer
- inputs
- IMTLTexture[]
- outputs
- IMTLTexture[]
- error
- NSError
Returns
- Attributes