xnn.gnn.models.egt.class_mean# xnn.gnn.models.egt.class_mean(x, cls)[source]# Each row of x replaced by the mean over the rows of its class cls (class labels index rows, the first member of each class). Parameters: x (Tensor) cls (Tensor) Return type: Tensor