Chalkboard - v3.1.0
    Preparing search index...

    Function isShapeOf

    • Checks if a tensor is of a particular shape.

      Parameters

      Returns boolean

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