class_docstr: unittest for NetworkMorphismTuner
      
class_docstr_tok: ["unittest","for","NetworkMorphismTuner"]
docstr: unittest for to_deeper_graph function
          
docstr_tok: ["unittest","for","to_deeper_graph","function"]
code: def test_to_deeper_graph(self):
      """unittest for to_deeper_graph function"""
  
      graph_init = CnnGenerator(10, (32, 32, 3)).generate()
      json_out = graph_to_json(graph_init, "temp.json")
      graph_recover = json_to_graph(json_out)
      deeper_graph = to_deeper_graph(deepcopy(graph_recover))
      model = deeper_graph.produce_torch_model()
      out = model(torch.ones(1, 3, 32, 32))
      self.assertEqual(out.shape, torch.Size([1, 10]))
  
imports: import json
  from unittest import TestCase, main
  from copy import deepcopy
  import torch
  from nni.algorithms.hpo.networkmorphism_tuner import NetworkMorphismTuner
  from nni.algorithms.hpo.networkmorphism_tuner.graph import graph_to_json, json_to_graph
  from nni.algorithms.hpo.networkmorphism_tuner.graph_transformer import to_deeper_graph, to_skip_connection_graph, to_wider_graph
  from nni.algorithms.hpo.networkmorphism_tuner.layers import layer_description_extractor
  from nni.algorithms.hpo.networkmorphism_tuner.nn import CnnGenerator
label_desc: Use image node_id 3 for calling the NetworkMorphismTestCase obj's underlying member method code with example usage: obj.test_to_deeper_graph() without return types