class_docstr: Abstract class defining the functions that a Communicator should implement.
class_docstr_tok: ["Abstract","class","defining","the","functions","that","a","Communicator","should","implement","."]
docstr: Updates log of communication statistics.
docstr_tok: ["Updates","log","of","communication","statistics","."]
code: def _log_communication(self, nelement):
      """Updates log of communication statistics."""
      self.comm_rounds += 1
      self.comm_bytes += nelement * self.BYTES_PER_ELEMENT
  
imports: import sys
  import timeit
  from crypten.config import cfg
label_desc: Use image node_id 24 for calling the Communicator obj's underlying member method code with example usage: obj._log_communication(nelement) without return types