class_docstr: GrapplerItem.
docstr: Get Op properties.
code: def GetOpProperties(self):
      """Get Op properties."""
      props = tf_item.TF_GetOpProperties(self.tf_item)
      properties = {}
      for key, values in props.items():
          prop = []
          for value in values:
              # TODO(petebu): Make this conversion to a dictionary be done in the C++
              # wrapper for performance.
              prop.append(
                  op_performance_data_pb2.OpInfo.TensorProperties.FromString(
                      value
                  )
              )
          properties[key] = prop
      return properties
  
file_path: tensorflow/tensorflow/python/grappler/item.py
imports: from tensorflow.core.grappler.costs import op_performance_data_pb2
  from tensorflow.core.protobuf import meta_graph_pb2
  from tensorflow.python.grappler import _pywrap_tf_item
label_desc: Use image node_id 3 for calling the Item obj's underlying member method code with example usage: obj.GetOpProperties() and returns: properties