code: def test_input_named_variables(self):
      # Tests that named variables work when outputs is a dictionary
  
      x = T.scalar("x")
      y = T.scalar("y")
  
      f = theano.function([x, y], outputs={"a": x + y, "b": x * y})
  
      assert f(2, 4) == {"a": 6, "b": 8}
      assert f(2, y=4) == f(2, 4)
      assert f(x=2, y=4) == f(2, 4)
  
file_path: Theano/theano/tests/test_dictionary_output.py
imports: from __future__ import absolute_import, print_function, division
  import unittest
  import theano
  import theano.tensor
label_desc: Use image node_id 2 for calling the dictionary_output_checker obj's underlying member method code with example usage: obj.test_input_named_variables() without return types