MPSGraph_MPSGraphRandomOps.RandomUniform 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
RandomUniform(MPSGraph, MPSGraphTensor, String)
[Foundation.Export("randomUniformTensorWithShapeTensor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor RandomUniform(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor shapeTensor, string? name);
[<Foundation.Export("randomUniformTensorWithShapeTensor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member RandomUniform : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- shapeTensor
- MPSGraphTensor
- name
- String
Returns
- Attributes
Applies to
RandomUniform(MPSGraph, Int32[], String)
[Foundation.Export("randomUniformTensorWithShape:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor RandomUniform(this MetalPerformanceShadersGraph.MPSGraph This, int[] shape, string? name);
[<Foundation.Export("randomUniformTensorWithShape:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member RandomUniform : MetalPerformanceShadersGraph.MPSGraph * int[] * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- shape
- Int32[]
- name
- String
Returns
- Attributes
Applies to
RandomUniform(MPSGraph, MPSGraphTensor, MPSGraphTensor, String)
[Foundation.Export("randomUniformTensorWithShapeTensor:stateTensor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor[] RandomUniform(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor shapeTensor, MetalPerformanceShadersGraph.MPSGraphTensor state, string? name);
[<Foundation.Export("randomUniformTensorWithShapeTensor:stateTensor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member RandomUniform : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * string -> MetalPerformanceShadersGraph.MPSGraphTensor[]
Parameters
- This
- MPSGraph
- shapeTensor
- MPSGraphTensor
- state
- MPSGraphTensor
- name
- String
Returns
- Attributes
Applies to
RandomUniform(MPSGraph, MPSGraphTensor, UIntPtr, String)
[Foundation.Export("randomUniformTensorWithShapeTensor:seed:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor RandomUniform(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor shapeTensor, UIntPtr seed, string? name);
[<Foundation.Export("randomUniformTensorWithShapeTensor:seed:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member RandomUniform : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * unativeint * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- shapeTensor
- MPSGraphTensor
- seed
-
UIntPtr
unativeint
- name
- String
Returns
- Attributes
Applies to
RandomUniform(MPSGraph, Int32[], MPSGraphTensor, String)
[Foundation.Export("randomUniformTensorWithShape:stateTensor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor[] RandomUniform(this MetalPerformanceShadersGraph.MPSGraph This, int[] shape, MetalPerformanceShadersGraph.MPSGraphTensor state, string? name);
[<Foundation.Export("randomUniformTensorWithShape:stateTensor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member RandomUniform : MetalPerformanceShadersGraph.MPSGraph * int[] * MetalPerformanceShadersGraph.MPSGraphTensor * string -> MetalPerformanceShadersGraph.MPSGraphTensor[]
Parameters
- This
- MPSGraph
- shape
- Int32[]
- state
- MPSGraphTensor
- name
- String
Returns
- Attributes
Applies to
RandomUniform(MPSGraph, Int32[], UIntPtr, String)
[Foundation.Export("randomUniformTensorWithShape:seed:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor RandomUniform(this MetalPerformanceShadersGraph.MPSGraph This, int[] shape, UIntPtr seed, string? name);
[<Foundation.Export("randomUniformTensorWithShape:seed:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member RandomUniform : MetalPerformanceShadersGraph.MPSGraph * int[] * unativeint * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- shape
- Int32[]
- seed
-
UIntPtr
unativeint
- name
- String
Returns
- Attributes