[][src]Struct ggpf::settings::SelfPlay

pub struct SelfPlay {
    pub batch_size: usize,
    pub evaluators: usize,
    pub generators: usize,
}

Self-play settings.

Fields

batch_size: usize

GPU batch size.

evaluators: usize

Number of evaluators: tasks that send batches to GPUs.

generators: usize

Number of generators: tasks that generate games.

Trait Implementations

impl Clone for SelfPlay[src]

impl Copy for SelfPlay[src]

impl Debug for SelfPlay[src]

impl<'de> Deserialize<'de> for SelfPlay[src]

Auto Trait Implementations

impl RefUnwindSafe for SelfPlay

impl Send for SelfPlay

impl Sync for SelfPlay

impl Unpin for SelfPlay

impl UnwindSafe for SelfPlay

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T> FromPy<T> for T

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> IntoPy<U> for T where
    U: FromPy<T>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> With for T