code: def get_embedder(multires):
      embed_kwargs = {
          "include_input": True,
          "input_dims": 3,
          "max_freq_log2": multires - 1,
          "num_freqs": multires,
          "log_sampling": True,
          "periodic_fns": [torch.sin, torch.cos],
      }
  
      embedder_obj = Embedder(**embed_kwargs)
  
      def embed(x, eo=embedder_obj):
          return eo.embed(x)
  
      return embed, embedder_obj.out_dim
  
imports: import torch
label_desc: Use image node_id 1 for calling a global function with example usage: get_embedder(multires) and returns: embed,  embedder_obj, eo