MLCInstanceNormalizationLayer.Create 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.
Overloads
| Name | Description |
|---|---|
| Create(UIntPtr, MLCTensor, MLCTensor, Single) | |
| Create(UIntPtr, MLCTensor, MLCTensor, Single, Single) | |
| Create(UIntPtr, MLCTensor, MLCTensor, MLCTensor, MLCTensor, Single, Single) |
Create(UIntPtr, MLCTensor, MLCTensor, Single)
[Foundation.Export("layerWithFeatureChannelCount:beta:gamma:varianceEpsilon:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MLCompute.MLCInstanceNormalizationLayer? Create(UIntPtr featureChannelCount, MLCompute.MLCTensor? beta, MLCompute.MLCTensor? gamma, float varianceEpsilon);
[<Foundation.Export("layerWithFeatureChannelCount:beta:gamma:varianceEpsilon:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : unativeint * MLCompute.MLCTensor * MLCompute.MLCTensor * single -> MLCompute.MLCInstanceNormalizationLayer
Parameters
- featureChannelCount
-
UIntPtr
unativeint
- beta
- MLCTensor
- gamma
- MLCTensor
- varianceEpsilon
- Single
Returns
- Attributes
Applies to
Create(UIntPtr, MLCTensor, MLCTensor, Single, Single)
[Foundation.Export("layerWithFeatureChannelCount:beta:gamma:varianceEpsilon:momentum:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MLCompute.MLCInstanceNormalizationLayer? Create(UIntPtr featureChannelCount, MLCompute.MLCTensor? beta, MLCompute.MLCTensor? gamma, float varianceEpsilon, float momentum);
[<Foundation.Export("layerWithFeatureChannelCount:beta:gamma:varianceEpsilon:momentum:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : unativeint * MLCompute.MLCTensor * MLCompute.MLCTensor * single * single -> MLCompute.MLCInstanceNormalizationLayer
Parameters
- featureChannelCount
-
UIntPtr
unativeint
- beta
- MLCTensor
- gamma
- MLCTensor
- varianceEpsilon
- Single
- momentum
- Single
Returns
- Attributes
Applies to
Create(UIntPtr, MLCTensor, MLCTensor, MLCTensor, MLCTensor, Single, Single)
[Foundation.Export("layerWithFeatureChannelCount:mean:variance:beta:gamma:varianceEpsilon:momentum:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MLCompute.MLCInstanceNormalizationLayer? Create(UIntPtr featureChannelCount, MLCompute.MLCTensor mean, MLCompute.MLCTensor variance, MLCompute.MLCTensor? beta, MLCompute.MLCTensor? gamma, float varianceEpsilon, float momentum);
[<Foundation.Export("layerWithFeatureChannelCount:mean:variance:beta:gamma:varianceEpsilon:momentum:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : unativeint * MLCompute.MLCTensor * MLCompute.MLCTensor * MLCompute.MLCTensor * MLCompute.MLCTensor * single * single -> MLCompute.MLCInstanceNormalizationLayer
Parameters
- featureChannelCount
-
UIntPtr
unativeint
- mean
- MLCTensor
- variance
- MLCTensor
- beta
- MLCTensor
- gamma
- MLCTensor
- varianceEpsilon
- Single
- momentum
- Single
Returns
- Attributes