Enum collenchyma::tensor::Error [] [src]

pub enum Error {
    MissingSource(&'static str),
    MissingDestination(&'static str),
    InvalidMemory(&'static str),
    InvalidMemoryAllocation(&'static str),
    InvalidRemove(&'static str),
    MemoryAllocationError(Error),
    MemorySynchronizationError(Error),
    InvalidShape(&'static str),
}

Errors than can occur when synchronizing memory.

Variants

No copy on source device.

No copy on destination device.

No valid MemoryType provided. Other than expected.

No memory allocation on specified device happened.

Unable to remove Memory copy from SharedTensor.

Framework error at memory allocation.

Framework error at memory synchronization.

Shape provided for reshaping is not compatible with old shape.

Trait Implementations

impl From<Error> for Error
[src]

Performs the conversion.

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Copy for Error
[src]

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more