MPSGraph_MemoryOps.Placeholder 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 |
|---|---|
| Placeholder(MPSGraph, Int32[], String) | |
| Placeholder(MPSGraph, Int32[], MPSDataType, String) |
Placeholder(MPSGraph, Int32[], String)
[Foundation.Export("placeholderWithShape:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor Placeholder(this MetalPerformanceShadersGraph.MPSGraph This, int[]? shape, string? name);
[<Foundation.Export("placeholderWithShape:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Placeholder : MetalPerformanceShadersGraph.MPSGraph * int[] * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- shape
- Int32[]
- name
- String
Returns
- Attributes
Applies to
Placeholder(MPSGraph, Int32[], MPSDataType, String)
[Foundation.Export("placeholderWithShape:dataType:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor Placeholder(this MetalPerformanceShadersGraph.MPSGraph This, int[]? shape, MetalPerformanceShaders.MPSDataType dataType, string? name);
[<Foundation.Export("placeholderWithShape:dataType:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Placeholder : MetalPerformanceShadersGraph.MPSGraph * int[] * MetalPerformanceShaders.MPSDataType * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- shape
- Int32[]
- dataType
- MPSDataType
- name
- String
Returns
- Attributes