Skip to content

MLSession

Not yet Class Other NotCreatable NotReplicated

A machine-learning inference session that wraps a single loaded model and runs it through MLSession.ForwardAsync().

Not implemented yet

This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.

0 Nova members · 7 modern Roblox members not implemented yet

Description

An MLSession wraps a single loaded neural-network model and runs inference on it. You don't construct a session directly; instead, MLService.CreateSessionAsync() loads a model bundle for a given asset and returns a ready-to-use session. Call ForwardAsync() on that session to run the model's forward pass on your input data and receive its output.

Inheritance

Object → MLSession

Methods

Member Signature Summary
ForwardAsync MLSession:ForwardAsync(data: Dictionary): Dictionary Runs the session's model on the given input and asynchronously returns the model's output.

Roblox reference: MLSession

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.