Checks if a tensor is of a particular rank.

  • Parameters

    Returns boolean