Contents

ComputeStream

A stream of work to be run asynchronously.

Declaration

final class ComputeStream

Overview

A compute stream is what is provided to encode(inputs:states:outputViews:to:) to encode the work onto the stream. Multiple inferences encoded to the same stream are serialized as needed based on the the values read/written.

Topics

Creating a stream

Waiting for work to finish

See Also

Inference