Table Of Contents
Table Of Contents

gluonts.shell.serve.app module

class gluonts.shell.serve.app.InferenceRequest[source]

Bases: pydantic.main.BaseModel

class gluonts.shell.serve.app.ThrougputIter(iterable: Iterable)[source]

Bases: object

gluonts.shell.serve.app.batch_inference_invocations(predictor_factory, configuration) → flask.app.Flask[source]
gluonts.shell.serve.app.get_base_app(execution_params)[source]
gluonts.shell.serve.app.handle_predictions(predictor, instances, configuration)[source]
gluonts.shell.serve.app.inference_invocations(predictor_factory) → flask.app.Flask[source]
gluonts.shell.serve.app.log_throughput(instances, timings)[source]
gluonts.shell.serve.app.make_app(predictor_factory, execution_params, batch_transform_config)[source]