---
title: "insert(_:for:)"
framework: coreai
role: symbol
role_heading: Instance Method
path: "coreai/inferencefunction/mutableviews/insert(_:for:)-9ixpc"
---

# insert(_:for:)

Insert the mutable view for the value named name.

## Declaration

```swift
mutating func insert(_ mutableRawView: consuming NDArray.MutableRawView, for name: String)
```

## Parameters

- `mutableRawView`: A mutable raw view of the ndArray to be used as the value.
- `name`: The name of the value that this view should be used for.
