<!--
{
  "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/Block",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core ML"
    ],
    "preciseIdentifier" : "s:6CoreML16MLModelStructureO7ProgramV5BlockV"
  },
  "title" : "MLModelStructure.Program.Block"
}
-->

# MLModelStructure.Program.Block

A struct representing a block in the Program.

```
struct Block
```

## Topics

### Accessing the properties

[`let inputs: [MLModelStructure.Program.NamedValueType]`](/documentation/CoreML/MLModelStructure-swift.enum/Program/Block/inputs)

The inputs to the block.

[`let operations: [MLModelStructure.Program.Operation]`](/documentation/CoreML/MLModelStructure-swift.enum/Program/Block/operations)

The operations in the block.

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

The output names.

## 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)