Skip to content

Talario\InferenceService

Requires a Talario build. Licensed builds are available through sales. There is no public download. Availability

__construct

new InferenceService(Device $dev, callable $buildNet, int $batch, int $inDim, int $outDim)

Build the model and compile a forward-only graph once.

infer

infer(array $features): array

Feed batch*inDim floats and replay the warm forward; returns logits.

classify

classify(array $features): array

Argmax class per row (classifier convenience).

Using a coding agent?

Copy a prompt for Talario\InferenceService, with 2 exact API signatures.