Trait ReadValue

Source
pub trait ReadValue<P: PlatformInstance, T: CType>: Op {
    // Required method
    fn read_value(&self, offset: usize) -> Result<T, Error>;
}

Required Methods§

Source

fn read_value(&self, offset: usize) -> Result<T, Error>

Implementors§

Source§

impl ReadValue<Platform, f32> for ha_ndarray::ops::RandomNormal

Source§

impl ReadValue<Platform, f32> for ha_ndarray::ops::RandomUniform

Source§

impl ReadValue<Host, f32> for ha_ndarray::host::ops::RandomNormal

Source§

impl ReadValue<Host, f32> for ha_ndarray::host::ops::RandomUniform

Source§

impl<A, IT, OT> ReadValue<Platform, OT> for ha_ndarray::ops::Scalar<A, IT, OT>
where A: Access<IT>, IT: CType, OT: CType,

Source§

impl<A, IT, OT> ReadValue<Platform, OT> for ha_ndarray::ops::Unary<A, IT, OT>
where A: Access<IT>, IT: CType, OT: CType,

Source§

impl<A, IT, OT> ReadValue<Host, OT> for ha_ndarray::host::ops::Scalar<A, IT, OT>
where A: Access<IT>, IT: CType, OT: CType,

Source§

impl<A, IT, OT> ReadValue<Host, OT> for ha_ndarray::host::ops::Unary<A, IT, OT>
where A: Access<IT>, IT: CType, OT: CType,

Source§

impl<A, L, R, T> ReadValue<Platform, T> for ha_ndarray::ops::Cond<A, L, R, T>
where A: Access<u8>, L: Access<T>, R: Access<T>, T: CType,

Source§

impl<A, L, R, T> ReadValue<Host, T> for ha_ndarray::host::ops::Cond<A, L, R, T>
where A: Access<u8>, L: Access<T>, R: Access<T>, T: CType,

Source§

impl<A: Access<IT>, IT: CType, OT: CType> ReadValue<Platform, OT> for ha_ndarray::ops::Cast<A, IT, OT>

Source§

impl<A: Access<IT>, IT: CType, OT: CType> ReadValue<Host, OT> for ha_ndarray::host::ops::Cast<A, IT, OT>

Source§

impl<A: Access<T>, T: CType> ReadValue<Platform, T> for ha_ndarray::ops::MatDiag<A, T>

Source§

impl<A: Access<T>, T: CType> ReadValue<Platform, T> for ha_ndarray::ops::Reduce<A, T>

Source§

impl<A: Access<T>, T: CType> ReadValue<Platform, T> for ha_ndarray::ops::Slice<A, T>

Source§

impl<A: Access<T>, T: CType> ReadValue<Platform, T> for ha_ndarray::ops::View<A, T>

Source§

impl<A: Access<T>, T: CType> ReadValue<Host, T> for ha_ndarray::host::ops::MatDiag<A, T>

Source§

impl<A: Access<T>, T: CType> ReadValue<Host, T> for ha_ndarray::host::ops::Reduce<A, T>

Source§

impl<A: Access<T>, T: CType> ReadValue<Host, T> for ha_ndarray::host::ops::Slice<A, T>

Source§

impl<A: Access<T>, T: CType> ReadValue<Host, T> for ha_ndarray::host::ops::View<A, T>

Source§

impl<L, R, IT, OT> ReadValue<Platform, OT> for ha_ndarray::ops::Dual<L, R, IT, OT>
where L: Access<IT>, R: Access<IT>, IT: CType, OT: CType,

Source§

impl<L, R, IT, OT> ReadValue<Host, OT> for ha_ndarray::host::ops::Dual<L, R, IT, OT>
where L: Access<IT>, R: Access<IT>, IT: CType, OT: CType,

Source§

impl<L, R, T> ReadValue<Platform, T> for ha_ndarray::ops::MatMul<L, R, T>
where L: Access<T>, R: Access<T>, T: CType,

Source§

impl<L, R, T> ReadValue<Host, T> for ha_ndarray::host::ops::MatMul<L, R, T>
where L: Access<T>, R: Access<T>, T: CType,

Source§

impl<T: CType> ReadValue<Platform, T> for ha_ndarray::ops::Linear<T>

Source§

impl<T: CType> ReadValue<Host, T> for ha_ndarray::host::ops::Linear<T>