Share via


MPSGraph_MPSGraphTensorShapeOps.Cast Method

Definition

[Foundation.Export("castTensor:toType:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor Cast(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor tensor, MetalPerformanceShaders.MPSDataType type, string? name);
[<Foundation.Export("castTensor:toType:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Cast : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShaders.MPSDataType * string -> MetalPerformanceShadersGraph.MPSGraphTensor

Parameters

This
MPSGraph
name
String

Returns

Attributes

Applies to