pub struct TensorError(/* private fields */);Expand description
Tensor co-processor error status, returned by check_tensor_error.
The raw value is the 64-bit content of the tensor_error CSR (0x808).
Named bit accessors will be added once PRM Table 9-3 bit positions are
confirmed on hardware. Use raw to inspect the value
directly in the interim.
Implementations§
Trait Implementations§
Source§impl Clone for TensorError
impl Clone for TensorError
Source§fn clone(&self) -> TensorError
fn clone(&self) -> TensorError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TensorError
Source§impl Debug for TensorError
impl Debug for TensorError
impl Eq for TensorError
Source§impl PartialEq for TensorError
impl PartialEq for TensorError
impl StructuralPartialEq for TensorError
Auto Trait Implementations§
impl Freeze for TensorError
impl RefUnwindSafe for TensorError
impl Send for TensorError
impl Sync for TensorError
impl Unpin for TensorError
impl UnsafeUnpin for TensorError
impl UnwindSafe for TensorError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more