parameters: (self, child)
docstring: Append a CPU child of type FunctionEvent.
  
          One is supposed to append only direct children to the event to have
          correct self cpu time being reported.
docstring_summary: Append a CPU child of type FunctionEvent.
docstring_tokens: Append a CPU child of type FunctionEvent .
function: def append_cpu_child(self, child):
          """Append a CPU child of type FunctionEvent.
  
          One is supposed to append only direct children to the event to have
          correct self cpu time being reported.
          """
          assert(self.device_type == DeviceType.CPU)
          assert(isinstance(child, FunctionEvent))
          assert(child.device_type == DeviceType.CPU)
          self.cpu_children.append(child)
function_tokens: def append_cpu_child ( self , child ) : assert ( self . device_type == DeviceType . CPU ) assert ( isinstance ( child , FunctionEvent ) ) assert ( child . device_type == DeviceType . CPU ) self . cpu_children . append ( child )