TypeTensor - v0.1.0
    Preparing search index...

    Type Alias Unsqueeze<T, Axis>

    Unsqueeze: InsertAt<T, Axis, 1>

    Add a dimension of size 1 at a specific position

    Type Parameters

    • T extends Shape
    • Axis extends number
    type Unsqueezed = Unsqueeze<[2, 3], 1> // [2, 1, 3]