code: def test_deepcopied_type_filter():
      a = copy.deepcopy(tensor.matrix())
  
      # The following should run cleanly.
      # As of commit 731e2d2fa68487733320d341d08b454a50c90d12
      # it was failing.
      a.type.filter(np.ones((2, 2), dtype=a.dtype), strict=True)
  
file_path: Theano/theano/tensor/tests/test_misc.py
imports: from __future__ import absolute_import, print_function, division
  import copy
  import sys
  import numpy
  import theano
  from theano import tensor
  from theano.tensor.nnet import crossentropy_softmax_argmax_1hot_with_bias
label_desc: Use image node_id 3 for calling a global function with example usage: test_deepcopied_type_filter() without return types