class_docstr: CTC loss function wrapper.
  
  Notes
  -----
  Using the wrapper requires that Baidu's warp-ctc library is installed.
  If the warp-ctc library is not on your compiler's default library path,
  you must set the configuration variable ``config.ctc.root`` appropriately.
  
  Parameters
  ----------
  compute_grad
      If set to True, enables the computation of gradients of the CTC loss function.
class_docstr_tok: ["CTC","loss","function","wrapper",".","Notes","--","--","-","Using","the","wrapper","requires","that","Baidu","'s","warp-ctc","library","is","installed",".","If","the","warp-ctc","library","is","not","on","your","compiler","'s","default","library","path",",","you","must","set","the","configuration","variable","``","config.ctc.root","``","appropriately",".","Parameters","--","--","--","--","--","compute_grad","If","set","to","True",",","enables","the","computation","of","gradients","of","the","CTC","loss","function","."]
code: def __init__(self, compute_grad=True, openmp=None):
      if not ctc_available():
          raise RuntimeError(
              "Baidu CTC is not available and "
              "ConnectionistTemporalClassification Op "
              "can not be constructed."
          )
  
      gof.COp.__init__(self, self.func_file, self.func_name)
      gof.OpenMPOp.__init__(self, openmp=openmp)
  
      self.compute_grad = compute_grad
      # Return only the cost. Gradient will be returned by grad()
      self.default_output = 0
  
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 1 to create a new ConnectionistTemporalClassification object from inherited base classes: gof, gof with example: obj = ConnectionistTemporalClassification(compute_grad, openmp)