code: def _to_dense(st):
      return tf.scatter_nd(st.indices, st.values, st.dense_shape)
  
file_path: agents/tf_agents/utils/composite_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  from tf_agents.utils import composite
label_desc: Use image node_id 1 for calling a global function with example usage: _to_dense(st) and returns: tf