pub struct DeviceGpu<U> {
    pub memory_pool: Arc<Mutex<MemoryPool>>,
    /* private fields */
}
Expand description

Implementation of Device to be computed by GPU

Fields§

§memory_pool: Arc<Mutex<MemoryPool>>

Memory pool for cuda memory allocation

Implementations§

Create an instance of DeviceGpu

Arguments
  • memory_pool - Memory pool for cuda memory allocation
Errors

This function may return the following errors

Returns the CublasContext owned by itself

Trait Implementations§

Apply the activation function Read more
Apply derivatives of the activation function Read more
Returns whether or not the canonical linkage function can be used. Read more
Apply the activation function Read more
Apply derivatives of the activation function Read more
Returns whether or not the canonical linkage function can be used. Read more
Apply the activation function Read more
Apply derivatives of the activation function Read more
Returns whether or not the canonical linkage function can be used. Read more
Apply the activation function Read more
Apply derivatives of the activation function Read more
Returns whether or not the canonical linkage function can be used. Read more
Apply the activation function Read more
Apply derivatives of the activation function Read more
Returns whether or not the canonical linkage function can be used. Read more
Apply the activation function Read more
Apply derivatives of the activation function Read more
Returns whether or not the canonical linkage function can be used. Read more
Apply the activation function Read more
Apply derivatives of the activation function Read more
Apply the activation function Read more
Apply derivatives of the activation function Read more
Apply the activation function Read more
Apply derivatives of the activation function Read more
Apply the activation function Read more
Apply derivatives of the activation function Read more
Apply the activation function Read more
Apply derivatives of the activation function Read more
Apply the activation function Read more
Apply derivatives of the activation function Read more
Differentiation of loss functions Read more
Differentiation of loss functions Read more
Differentiation of loss functions Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Calculation of Losses Read more
Calculation of Losses by canonical link Read more
Calculation of total Losses Read more
Calculation of loss during batch execution by canonical link Read more
convolutional calculation Read more
Calculation of total Losses (all batch) Read more
Calculation of Losses Read more
Calculation of Losses by canonical link Read more
Calculation of total Losses Read more
Calculation of loss during batch execution by canonical link Read more
convolutional calculation Read more
Calculation of total Losses (all batch) Read more
Forward propagation calculation Read more
Error back propagation calculation Read more
Calculate the gradient of the weights Read more
Forward propagation calculation in batch Read more
Error back propagation in batch Read more
Calculate the gradient of the weights in batch Read more
Forward propagation calculation Read more
Error back propagation calculation Read more
Calculate the gradient of the weights Read more
Forward propagation calculation in batch Read more
Error back propagation in batch Read more
Calculate the gradient of the weights in batch Read more
Returns the memory pool object owned by itself

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.