code: def local_ctc_no_grad(node):
      if isinstance(node.op, ConnectionistTemporalClassification):
          if len(node.outputs) > 1:
              if (
                  len(node.outputs[1].clients) == 0
              ):  # gradient is not used
                  return [
                      ConnectionistTemporalClassification(
                          compute_grad=False
                      )(*node.inputs),
                      None,
                  ]
      return False
  
imports: from __future__ import division, absolute_import, print_function
  import os
  import sys
  import theano.tensor
  from theano import config
  from theano import gof
  from theano.gof import local_optimizer
  from theano.gof.cmodule import GCC_compiler
  from theano.tensor.opt import register_canonicalize
  from theano.tensor.extra_ops import cpu_contiguous
  from theano.gradient import grad_undefined
label_desc: Use image node_id 6 for calling a global function with example usage: local_ctc_no_grad(node) and returns: False, list