---
title: MLCPlatform
framework: ML Compute
role: symbol
role_heading: Class
platforms: [iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, macOS 12.0+, tvOS 15.0+]
path: mlcompute/mlcplatform
---

# MLCPlatform

A utility class for setting global properties in the framework.

## Declaration

```swift
class MLCPlatform
```

## Topics

### Getting the RNG Seed

- [getRNGseed()](mlcompute/mlcplatform/getrngseed().md)

### Setting the RNG Seed

- [setRNGSeedTo(_:)](mlcompute/mlcplatform/setrngseedto(_:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Components

- [MLCTensor](mlcompute/mlctensor.md)
- [Layers](mlcompute/layers.md)
- [Training and Validation](mlcompute/training-and-validation.md)
