---
title: "setArgumentTable(_:)"
framework: metal
role: symbol
role_heading: Instance Method
path: "metal/mtl4machinelearningcommandencoder/setargumenttable(_:)"
---

# setArgumentTable(_:)

Sets an argument table for the command encoder’s machine learning shader stage.

## Declaration

```swift
func setArgumentTable(_ argumentTable: (any MTL4ArgumentTable)?)
```

## Parameters

- `argumentTable`: An argument table to set on the command encoder’s Machine Learning stage.

## Discussion

Discussion The argument table provides inputs to all subsequent Machine Learning dispatches.

## See Also

### Configuring the pass

- [setPipelineState(_:)](metal/mtl4machinelearningcommandencoder/setpipelinestate(_:).md)
