MPSnnGramMatrixCalculationNode.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(MPSNNImageNode) | |
| Create(MPSNNImageNode, Single) |
Create(MPSNNImageNode)
[Foundation.Export("nodeWithSource:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSnnGramMatrixCalculationNode Create(MetalPerformanceShaders.MPSNNImageNode sourceNode);
[<Foundation.Export("nodeWithSource:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MetalPerformanceShaders.MPSNNImageNode -> MetalPerformanceShaders.MPSnnGramMatrixCalculationNode
Parameters
- sourceNode
- MPSNNImageNode
Returns
- Attributes
Applies to
Create(MPSNNImageNode, Single)
[Foundation.Export("nodeWithSource:alpha:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSnnGramMatrixCalculationNode Create(MetalPerformanceShaders.MPSNNImageNode sourceNode, float alpha);
[<Foundation.Export("nodeWithSource:alpha:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MetalPerformanceShaders.MPSNNImageNode * single -> MetalPerformanceShaders.MPSnnGramMatrixCalculationNode
Parameters
- sourceNode
- MPSNNImageNode
- alpha
- Single
Returns
- Attributes