Aesara utils#

compile_pymc(inputs, outputs[, random_seed, ...])

Use aesara.function with specialized pymc rewrites always enabled.

gradient(f[, vars])

hessian(f[, vars])

hessian_diag(f[, vars])

jacobian(f[, vars])


Get the inputs into Aesara variables


Get the continuous inputs into Aesara variables


Convert an Aesara tensor or numpy array to aesara.config.floatX type.


Convert a aesara tensor or numpy array to aesara.tensor.int32 type.


Converts numpy float values to floatX and leaves values of other types unchanged.

constant_fold(xs[, raise_not_constant])

Use constant folding to get constant values of a graph.


Turns a symbolic variable with one input into a function that returns symbolic arguments with the one variable replaced with the input.

join_nonshared_inputs(point, xs, vars, shared)

Takes a list of Aesara Variables and joins their non shared inputs into a single input.

make_shared_replacements(point, vars, model)

Makes shared replacements for all other variables than the ones passed.

generator(gen[, default])

Generator variable with possibility to set default value and new generator.


Set the package-level random number generator.


Get the package-level random number generator or new with specified seed.