code: def make_Encoder_B(n_latent):
      return functools.partial(
          model_joint.EncoderLatentFull,
          input_size=n_latent,
          output_size=n_latent_shared,
          layers=layers_B,
      )
  
imports: import functools
  from magenta.models.latent_transfer import model_joint
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling a global function with example usage: make_Encoder_B(n_latent) and returns: functools