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
MissingSource(&'static str)
No copy on source device.
MissingDestination(&'static str)
No copy on destination device.
InvalidMemory(&'static str)
No valid MemoryType provided. Other than expected.
InvalidMemoryAllocation(&'static str)
No memory allocation on specified device happened.
InvalidRemove(&'static str)
Unable to remove Memory copy from SharedTensor.
MemoryAllocationError(Error)
Framework error at memory allocation.
MemorySynchronizationError(Error)
Framework error at memory synchronization.
InvalidShape(&'static str)
Shape provided for reshaping is not compatible with old shape.
Trait Implementations
impl From<Error> for Error
[src]
impl Debug for Error
[src]
impl Copy for Error
[src]
impl Clone for Error
[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more