---
title: "setInput(_:_:)"
framework: Compute Graph
role: symbol
role_heading: Instance Method
path: "computegraph/computenodegraph/node/setinput(_:_:)-9n5yb"
---

# setInput(_:_:)

## Declaration

```swift
@discardableResult mutating func setInput<V>(_ name: String, _ value: V) -> Bool where V : BitwiseCopyable
```
