pymoose.predictors.predictor module
pymoose.predictors.predictor module#
- class pymoose.predictors.predictor.Predictor[source]#
Bases:
object
Base class for Moose Predictor interface.
- classmethod fixedpoint_constant(x, plc=None, dtype=q24.40)[source]#
Convenience method for embedding a constant with fixedpoint dtype.
- classmethod handle_output(prediction, prediction_handler, output_dtype=f64)[source]#
Pins a value to an output placement, casting into a specified dtype.
- property host_placements#