One Logo Pool Ball
Accelerate · IOS API REFERENCE

BNNSGraph.Shape

struct · iOS 18.0+ · SDK 27.1

struct Shape

A structure that specifies the shape of an argument. - SeeAlso: `bnns_graph_shape_t`

Members (2)

get · iOS 18.0+

dimensions

TypeScript
get dimensions(): Array<number>
Swift declaration
var dimensions: [Int] { get }

A copy of the shape's dimensions.

init · iOS 18.0+

init

TypeScript
static init(shape: Array<number>): BNNSGraph_Shape
Swift declaration
init(_ shape: [Int])

Creates a new shape with a rank of `shape.count`.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

BNNSGraph.Shape.init(arrayLiteral:)

A variable number of Swift arguments is not supported.

All Accelerate types →