Chalkboard - v3.1.0
    Preparing search index...

    Function isShapeUniform

    • Checks if a tensor has a uniform shape, in which every axis has the same length (analogous to checking if a matrix is square).

      Parameters

      Returns boolean

      const result = Chalkboard.tens.isShapeUniform([[1, 2], [3, 4]]); // Returns true