code: def recurrent_factory(
      create_core: Callable[[], snt.RNNCore],
      unroller,
  ) -> Callable[[], Recurrent]:
      return lambda: Recurrent(create_core(), unroller)
  
file_path: sonnet/sonnet/src/conformance/descriptors.py
imports: import collections
  from typing import Callable, Union
  import sonnet
  import tensorflow
label_desc: Use image node_id 2 for calling a global function with example usage: recurrent_factory(create_core, unroller) and returns: function