code: def test_multinomial_dtypes():
      p = tensor.dmatrix()
      u = tensor.dvector()
      m = multinomial.MultinomialFromUniform("auto")(p, u)
      assert m.dtype == "float64", m.dtype
  
      p = tensor.fmatrix()
      u = tensor.fvector()
      m = multinomial.MultinomialFromUniform("auto")(p, u)
      assert m.dtype == "float32", m.dtype
  
      p = tensor.fmatrix()
      u = tensor.fvector()
      m = multinomial.MultinomialFromUniform("float64")(p, u)
      assert m.dtype == "float64", m.dtype
  
file_path: Theano/theano/sandbox/tests/test_multinomial.py
imports: from __future__ import absolute_import, print_function, division
  import os
  import sys
  from six import reraise
  from nose.plugins.skip import SkipTest
  import numpy
  import theano
  from theano import config, function, tensor
  from theano.sandbox import multinomial
  import theano.tests.unittest_tools
  from theano.compat import PY3
  from theano.misc.pkl_utils import CompatUnpickler
label_desc: Use image node_id 6 for calling a global function with example usage: test_multinomial_dtypes() without return types