---
title: "init(arrayLiteral:)"
framework: accelerate
role: symbol
role_heading: Initializer
path: "accelerate/bnnsgraph/shape/init(arrayliteral:)"
---

# init(arrayLiteral:)

Creates a shape structure from the given array literal.

## Declaration

```swift
init(arrayLiteral elements: Int...)
```

## Parameters

- `elements`: A variadic list of elements of the new array.

## See Also

### Creating a shape structure

- [init(_:)](accelerate/bnnsgraph/shape/init(_:).md)
