• Returns the dimensions in the input shape that are broadcasted to produce the provided output shape.

    The returned dimensions are 0-indexed and sorted. An example: inShape = [4, 1, 3] outShape = [5, 4, 3, 3] result = [1]. Dimension 1 (2nd dimension of input) gets broadcasted 1 => 3.

    Parameters

    • inShape: number[]
    • outShape: number[]

    Returns number[]

Generated using TypeDoc