MLCActivationLayer.Create(MLCActivationDescriptor) 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.
[Foundation.Export("layerWithDescriptor:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MLCompute.MLCActivationLayer Create(MLCompute.MLCActivationDescriptor descriptor);
[<Foundation.Export("layerWithDescriptor:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MLCompute.MLCActivationDescriptor -> MLCompute.MLCActivationLayer
Parameters
- descriptor
- MLCActivationDescriptor
Returns
- Attributes