Struct JobSlice

Struct Documentation

struct switchml::JobSlice

A job slice that represents a part of a job.

This struct is what worker threads receive from the scheduler and what they work on.

Public Members

std::shared_ptr<Job> job

A reference to the original job of which this slice came from.

Tensor slice

The slice that the worker thread should work on