code: def pragmatic_listener(utterance):
      # priors
      price = price_prior()
      valence = valence_prior(price)
      qud = qud_prior()
  
      # model
      state = State(price=price, valence=valence)
      qudValue = qud_fns[qud](state)
      speaker_marginal = speaker(qudValue, qud)
      pyro.sample("speaker", speaker_marginal, obs=utterance)
      return state
  
file_path: pyro/examples/rsa/hyperbole.py
imports: import argparse
  import collections
  import torch
  from search_inference import HashingMarginal, Search, memoize
  import pyro
  import pyro.distributions
  import pyro.poutine
label_desc: Use image node_id 11 for calling a global function with example usage: pragmatic_listener(utterance) and returns: state