<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macCatalyst: 17.4.0 -",
    "macOS: 14.4.0 -",
    "tvOS: 17.4.0 -",
    "visionOS: 1.1.0 -",
    "watchOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreML",
  "identifier" : "/documentation/CoreML/MLModelStructureProgramBlock",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core ML"
    ],
    "preciseIdentifier" : "c:objc(cs)MLModelStructureProgramBlock"
  },
  "title" : "MLModelStructureProgramBlock"
}
-->

# MLModelStructureProgramBlock

A class representing a block in the Program.

```
@interface MLModelStructureProgramBlock : NSObject
```

## Topics

### Accessing the program block properties

[`inputs`](/documentation/CoreML/MLModelStructureProgramBlock/inputs)

The named inputs to the block.

[`operations`](/documentation/CoreML/MLModelStructureProgramBlock/operations)

The list of topologically sorted operations in the block.

[`outputNames`](/documentation/CoreML/MLModelStructureProgramBlock/outputNames)

The output names.



---

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)