code: def permute(self, ordering: np.ndarray, *, axis: int) -> None:
  		
  		if axis == 0:
  			self.values = self.values[ordering, :]
  		elif axis == 1:
  			self.values = self.values[:, ordering]
  		else:
  			raise ValueError("axis must be 0 or 1")
docs: Permute the layer along an axis
  
  		Args:
  			axis: The axis to permute (0, permute the rows; 1, permute the columns)
  			ordering: The permutation vector