Tensor data types, and their interaction with Idris. This module contains a number of data types (`Num`, `Eq` etc.) which indicate what operations can be performed on primitive data in the backend. They are entirely distinct from the Idris interfaces `Prelude.Num` etc. but carry largely the same meaning.
data DType : TypePRED : DTypeS8 : DTypeS16 : DTypeS32 : DTypeS64 : DTypeU8 : DTypeU16 : DTypeU32 : DTypeU64 : DTypeF64 : DTypeidrisType : DType -> Typedata Num : DType -> TypeNumS8 : Num S8NumS16 : Num S16NumS32 : Num S32NumS64 : Num S64NumU8 : Num U8NumU16 : Num U16NumU32 : Num U32NumU64 : Num U64NumF64 : Num F64data Neg : DType -> TypenegNum : Neg dtype -> Num dtypedata Abs : DType -> TypeAbsS8 : Abs S8AbsS16 : Abs S16AbsS32 : Abs S32AbsS64 : Abs S64AbsU8 : Abs U8AbsU16 : Abs U16AbsU32 : Abs U32AbsU64 : Abs U64AbsF64 : Abs F64absNum : Abs dtype -> Num dtypedata Integral : DType -> TypeIntegralS8 : Integral S8IntegralS16 : Integral S16IntegralS32 : Integral S32IntegralS64 : Integral S64IntegralU8 : Integral U8IntegralU16 : Integral U16IntegralU32 : Integral U32IntegralU64 : Integral U64integralNum : Integral dtype -> Num dtypedata Fractional : DType -> TypeFractional dtype -> Num dtypefractionalNum : Fractional dtype -> Num dtypedata Ord : DType -> Type