<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macCatalyst: 17.4.0 -",
    "macOS: 14.4.0 -",
    "tvOS: 17.4.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreML",
  "identifier" : "/documentation/CoreML/MLModelStructure-swift.enum/Program",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core ML"
    ],
    "preciseIdentifier" : "s:6CoreML16MLModelStructureO7ProgramV"
  },
  "title" : "MLModelStructure.Program"
}
-->

# MLModelStructure.Program

A struct representing the structure of an ML Program model.

```
struct Program
```

## Topics

### Accessing the program functions

[`let functions: [String : MLModelStructure.Program.Function]`](/documentation/CoreML/MLModelStructure-swift.enum/Program/functions)

The functions in the program.

### Getting the program types

[`struct Argument`](/documentation/CoreML/MLModelStructure-swift.enum/Program/Argument)

A struct representing an argument in the Program.

[`struct Block`](/documentation/CoreML/MLModelStructure-swift.enum/Program/Block)

A struct representing a block in the Program.

[`struct Function`](/documentation/CoreML/MLModelStructure-swift.enum/Program/Function)

A struct representing a function in the Program.

[`struct NamedValueType`](/documentation/CoreML/MLModelStructure-swift.enum/Program/NamedValueType)

A struct representing a named type in a Program.

[`struct Operation`](/documentation/CoreML/MLModelStructure-swift.enum/Program/Operation)

A struct representing an Operation in the Program.

[`struct Value`](/documentation/CoreML/MLModelStructure-swift.enum/Program/Value)

A struct representing the value of a variable in the Program.

[`struct ValueType`](/documentation/CoreML/MLModelStructure-swift.enum/Program/ValueType)

A struct representing the type of a variable in the Program.

[`enum Binding`](/documentation/CoreML/MLModelStructure-swift.enum/Program/Binding)

An enum representing a binding.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

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)