pyromancy

Infrastructure

Shape

Tensor shape with support for placeholder dimensions.

Utilities

eparameters

Sets the E-step parameters for a class.

mparameters

Sets the M-step parameters for a class.

get_estep_params

Returns an iterator over E-step parameters.

get_mstep_params

Returns an iterator over M-step parameters.

get_named_estep_params

Returns an iterator over E-step parameters, yielding both the name of the parameter and the parameter itself.

get_named_mstep_params

Returns an iterator over M-step parameters, yielding both the name of the parameter and the parameter itself.