<!--
{
  "availability" : [
    "iOS: 15.0.0 - 17.4.0",
    "iPadOS: 15.0.0 - 17.4.0",
    "macCatalyst: 15.0.0 - 17.4.0",
    "macOS: 12.0.0 - 14.3.0",
    "tvOS: 15.0.0 - 17.4.0"
  ],
  "documentType" : "symbol",
  "framework" : "MLCompute",
  "identifier" : "/documentation/MLCompute/MLCPlatform",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "ML Compute"
    ],
    "preciseIdentifier" : "c:objc(cs)MLCPlatform"
  },
  "title" : "MLCPlatform"
}
-->

# MLCPlatform

A utility class for setting global properties in the framework.

```
class MLCPlatform
```

## Topics

### Getting the RNG Seed

[`getRNGseed()`](/documentation/MLCompute/MLCPlatform/getRNGseed())

Returns the global random number generator seed value.

### Setting the RNG Seed

[`setRNGSeedTo(_:)`](/documentation/MLCompute/MLCPlatform/setRNGSeedTo(_:))

Sets the global random number generator seed value.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)