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 | No copy on source device. |
MissingDestination | No copy on destination device. |
InvalidMemory | No valid MemoryType provided. Other than expected. |
InvalidMemoryAllocation | No memory allocation on specified device happened. |
InvalidRemove | Unable to remove Memory copy from SharedTensor. |
MemoryAllocationError | Framework error at memory allocation. |
MemorySynchronizationError | Framework error at memory synchronization. |
InvalidShape | Shape provided for reshaping is not compatible with old shape. |