class_docstr: Profiling information about a single function.
class_docstr_tok: ["Profiling","information","about","a","single","function","."]
code: def self_privateuse1_memory_usage(self):
      if self.is_async or self.device_type != DeviceType.CPU:
          return 0
      return self.privateuse1_memory_usage - sum(
          [
              child.privateuse1_memory_usage
              for child in self.cpu_children
          ]
      )
  
imports: import bisect
  import itertools
  import math
  from collections import defaultdict, namedtuple
  from operator import attrgetter
  from typing import Any, Dict, List, Optional, Tuple
  import torch
  from torch.autograd import DeviceType
label_desc: Use image node_id 7 for calling the FunctionEvent obj's underlying member method code with example usage: obj.self_privateuse1_memory_usage() and returns: unknown, int