code: def test_attr_dict():
      data = mx.sym.Variable("data", attr={"mood": "angry"})
      op = mx.sym.Convolution(
          data=data,
          name="conv",
          kernel=(1, 1),
          num_filter=1,
          attr={"__mood__": "so so"},
          lr_mult=1,
      )
      assert contain(
          {
              "data": {"mood": "angry"},
              "conv_weight": {"__mood__": "so so"},
              "conv": {
                  "kernel": "(1, 1)",
                  "__mood__": "so so",
                  "num_filter": "1",
                  "lr_mult": "1",
                  "__lr_mult__": "1",
              },
              "conv_bias": {"__mood__": "so so"},
          },
          op.attr_dict(),
      )
  
file_path: mxnet/tests/python/unittest/test_attr.py
imports: import os
  import mxnet
  from common import models
  import pickle
label_desc: Use image node_id 5 for calling a global function with example usage: test_attr_dict() without return types