Skip to main content
Log in

Mojo struct

SessionOptions

struct SessionOptions

Configuration options for InferenceSession.

Implemented traits

AnyType, Copyable, Movable, UnknownDestructibility

Methods

__init__

__init__(out self)

Creates a new SessionOptions object.

__init__(out self, device: Device)

Creates a new SessionOptions object with a device set.