def compile_with_value(self, func, args=None, owner=None):
        '''Compile the function with array-like objects'''
        # format args
        if args is None:
            args = []

        # cast numpy.ndarray into theano.tensor
        theano_args = [self.cast2theano_var(a, 'extheano.jit.Compiler-arg-%d' % i)
                       for a, i in zip(args, range(len(args)))]

        # compiled value with symbol
        return self.compile_with_symbol(func, theano_args, owner)
def compile_with_value ( self , func , args = None , owner = None ) : if args is None : args = [ ] theano_args = [ self . cast2theano_var ( a , 'extheano.jit.Compiler-arg-%d' % i ) for a , i in zip ( args , range ( len ( args ) ) ) ] return self . compile_with_symbol ( func , theano_args , owner )
Compile the function with array-like objects