MPSGraphSdpaDescriptor.Scale Property
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.
Gets or sets the scale applied to the query-key matrix multiplication result before softmax.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual float Scale { [Foundation.Export("scale")] get; [Foundation.Export("setScale:")] set; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("scale")>]
[<set: Foundation.Export("setScale:")>]
member this.Scale : single with get, set
Property Value
- Attributes