code: def _convert_attr_list(attr_value):
      result = []
      attr_value_list = attr_value.list
      if len(attr_value_list.s) > 0:
          for value in attr_value_list.s:
              result.append(value.decode("utf8"))
      if len(attr_value_list.i) > 0:
          for i in attr_value_list.i:
              result.append(i)
      if len(attr_value_list.f) > 0:
          for value in attr_value_list.f:
              result.append(_convert_number(value))
      if len(attr_value_list.type) > 0:
          for value in attr_value_list.type:
              result.append(_convert_type(value))
      if len(result) == 0:
          for _, value in attr_value_list.ListFields():
              if len(value) > 0:
                  raise NotImplementedError()
      return result
  
imports: import json
  import logging
  import os
  import google.protobuf
  from tensorflow.core.framework import api_def_pb2
  from tensorflow.core.framework import op_def_pb2
  from tensorflow.core.framework import types_pb2
label_desc: Use image node_id 13 for calling a global function with example usage: _convert_attr_list(attr_value) and returns: result