RemoteBackend

Type Alias RemoteBackend 

Source
pub type RemoteBackend = BackendRouter<RemoteChannel<<WebSocket as Protocol>::Client>>;
Expand description

The remote backend allows you to run computation on a remote device.

Make sure there is a running server before trying to connect to it.

fn main() {
    let device = Default::default();
    let port = 3000;

    // You need to activate the `server` feature flag to have access to this function.
    burn::server::start::<burn::backend::Wgpu>(device, port);
}

Aliased Type§

pub struct RemoteBackend { /* private fields */ }