Contents

dimensions

An array that contains an input axis source for each output axis, which represents the ordering of dimensions.

Declaration

var dimensions: [Int] { get }

Discussion

Permutes the dimensions according to dimensions. The returned tensor’s dimension i corresponds to dimensions[i].