MPSGraph_MPSGraphTensorShapeOps.Broadcast 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 |
|---|---|
| Broadcast(MPSGraph, MPSGraphTensor, MPSGraphTensor, String) | |
| Broadcast(MPSGraph, MPSGraphTensor, Int32[], String) |
Broadcast(MPSGraph, MPSGraphTensor, MPSGraphTensor, String)
[Foundation.Export("broadcastTensor:toShapeTensor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor Broadcast(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor tensor, MetalPerformanceShadersGraph.MPSGraphTensor shapeTensor, string? name);
[<Foundation.Export("broadcastTensor:toShapeTensor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Broadcast : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- tensor
- MPSGraphTensor
- shapeTensor
- MPSGraphTensor
- name
- String
Returns
- Attributes
Applies to
Broadcast(MPSGraph, MPSGraphTensor, Int32[], String)
[Foundation.Export("broadcastTensor:toShape:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor Broadcast(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor tensor, int[] shape, string? name);
[<Foundation.Export("broadcastTensor:toShape:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Broadcast : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * int[] * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- tensor
- MPSGraphTensor
- shape
- Int32[]
- name
- String
Returns
- Attributes