Struct cudnn::API [] [src]

pub struct API;

Defines the Cuda cuDNN API.

Methods

impl API
[src]

Computes an activation forward function.

Computes an activation backward function.

impl API
[src]

Creates a generic CUDA cuDNN Filter Descriptor.

Destroys a CUDA cuDNN Filter Descriptor.

Should be called when freeing a CUDA::Descriptor to not trash up the CUDA device.

Initializes a generic CUDA cuDNN Filter Descriptor with specific properties.

cuDNN Convolution Configuration

Returns the most performant convolutional forward algorithm, for the given scenario.

Returns the workspace size in byte, which are needed for the given convolutional algorithm.

Returns the most performant convolutional backward data algorithm, for the given scenario.

Returns the workspace size in byte, which are needed for the given convolutional algorithm.

Returns the most performant convolutional backward data algorithm, for the given scenario.

Returns the workspace size in byte, which are needed for the given convolutional algorithm.

Creates a generic CUDA cuDNN Convolution Descriptor.

Destroys a CUDA cuDNN Convolution Descriptor.

Should be called when freeing a CUDA::Descriptor to not trash up the CUDA device.

Initializes a generic CUDA cuDNN Convolution Descriptor with specific properties.

Computes a convolution forward function.

Computes a convolution backward function w.r.t the bias.

Computes a convolution backward function w.r.t filter coefficient.

Computes a convolution backward function w.r.t the output tensor.

impl API
[src]

Creates a generic CUDA cuDNN LRN Descriptor.

Destroys a CUDA cuDNN LRN Descriptor.

Should be called when freeing a CUDA::Descriptor to not trash up the CUDA device.

Initializes a generic CUDA cuDNN LRN Descriptor with specific properties.

Computes an LRN cross channel forward function.

Computes an LRN cross channel backward function.

Computes an devisive normalization forward function.

Computes an devisive normalization backward function.

impl API
[src]

Creates a generic CUDA cuDNN Pooling Descriptor.

Destroys a CUDA cuDNN Pooling Descriptor.

Should be called when freeing a CUDA::Descriptor to not trash up the CUDA device.

Initializes a generic CUDA cuDNN Pooling Descriptor with specific properties.

Return information about a generic CUDA cuDNN Pooling Descriptor.

Initializes a generic CUDA cuDNN Pooling Descriptor with specific properties.

Return information about a generic CUDA cuDNN Pooling Descriptor.

Initializes a generic CUDA cuDNN Pooling Descriptor with specific properties.

Computes a pooling forward function.

Computes a pooling backward function.

impl API
[src]

Computes an softmax forward function.

Computes an softmax backward function.

impl API
[src]

Creates a generic CUDA cuDNN Tensor Descriptor.

Destroys a CUDA cuDNN Tensor Descriptor.

Should be called when freeing a CUDA::Descriptor to not trash up the CUDA device.

Initializes a generic CUDA cuDNN Tensor Descriptor with specific properties.

Returns informations about a generic CUDA cuDNN Tensor Descriptor.

Transforms a CUDA cuDNN Tensor from to another Tensor with a different layout.

This function copies the scaled data from one tensor to another tensor with a different layout. Those descriptors need to have the same dimensions but not necessarily the same strides. The input and output tensors must not overlap in any way (i.e., tensors cannot be transformed in place). This function can be used to convert a tensor with an unsupported format to a supported one.

Adds the scaled values from one a CUDA cuDNN Tensor to another.

Up to dimension 5, all tensor formats are supported. Beyond those dimensions, this routine is not supported.

This function adds the scaled values of one bias tensor to another tensor. Each dimension of the bias tensor must match the coresponding dimension of the src_dest tensor or must be equal to 1. In the latter case, the same value from the bias tensor for thoses dimensions will be used to blend into the src_dest tensor.

Sets all elements of a tensor to a given value.

Scales all elements of a tensor by a given factor.

impl API
[src]

Initialize the CUDA cuDNN API with needed context and resources.

The returned handle must be provided to future CUDA cuDNN API calls. Call this method outside of performance critical routines.

Destroys the CUDA cuDNN context and resources associated with the handle.

Frees up resources and will call cudaDeviceSynchronize internaly. Therefore, use this method outside of performance critical routines.

Returns the version of the CUDA cuDNN API.

Trait Implementations

impl Debug for API
[src]

Formats the value using the given formatter.

impl Copy for API
[src]

impl Clone for API
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more