---
title: "resultStateBatch(sourceImages:sourceStates:destinationImage:)"
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: "metalperformanceshaders/mpscnnmultiarykernel/resultstatebatch(sourceimages:sourcestates:destinationimage:)"
---

# resultStateBatch(sourceImages:sourceStates:destinationImage:)

## Declaration

```swift
func resultStateBatch(sourceImages: [[MPSImage]], sourceStates: [[MPSState]]?, destinationImage: [MPSImage]) -> [MPSState]?
```
