docs: public SDVariable cosineDistance(String name, SDVariable x, SDVariable y, int... dimensions) {
          validateNumerical("cosine distance", x, y);
          SDVariable result = f().cosineDistance(x, y, dimensions);
          return updateVariableNameAndReference(result, name);
      }