code: def test_create_node(self):  # type: () -> None
      model = _onnx_create_single_node_model(
          "Elu", [(1, 3, 224, 224)], [(1, 3, 224, 224)], alpha=0.5
      )
      graph = model.graph
      node = graph.node[0]
      node_ = Node.from_onnx(node)
      self.assertTrue(len(node_.inputs) == 1)
      self.assertTrue(len(node_.outputs) == 1)
      self.assertTrue(len(node_.attrs) == 1)
      self.assertTrue(node_.attrs["alpha"] == 0.5)
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/coremltools/converters/onnx/_tests/test_graph.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import unittest
  from coremltools._deps import _HAS_ONNX, MSG_ONNX_NOT_FOUND
label_desc: Use image node_id 1 for calling the NodeTest obj's underlying member method code with example usage: obj.test_create_node() without return types