For internal spidr use only.
data Parameter : TypeMkParameter : Shape -> (0 dtype : Type) -> Primitive dtype => ParameterShow Parameterdata Env : Typeempty : EnvemptyFrom : Env -> EnvupdateCounterFrom : Env -> State Env ()toList : Env -> List (Nat, Expr)counter : Env -> Natdata Fn : Nat -> TypeMkFn : Vect arity (Nat, Parameter) -> Expr -> Env -> Fn arity@arity The function arity.
@params The function parameter shapes and dtypes.
@result The function result.
@env Bindings within the function. Includes only nodes in this scope, not outer or inner scope.
Show (Fn arity)data BinaryOp : TypeEq : BinaryOpNe : BinaryOpLt : BinaryOpGt : BinaryOpLe : BinaryOpGe : BinaryOpAnd : BinaryOpOr : BinaryOpAdd : BinaryOpSub : BinaryOpMul : BinaryOpDiv : BinaryOpRem : BinaryOpPow : BinaryOpMin : BinaryOpMax : BinaryOpShow BinaryOpdata UnaryOp : TypeNot : UnaryOpNeg : UnaryOpReciprocal : UnaryOpCeil : UnaryOpFloor : UnaryOpAbs : UnaryOpLog : UnaryOpExp : UnaryOpLogistic : UnaryOpErf : UnaryOpSquare : UnaryOpSqrt : UnaryOpSin : UnaryOpCos : UnaryOpTan : UnaryOpAsin : UnaryOpAcos : UnaryOpAtan : UnaryOpSinh : UnaryOpCosh : UnaryOpTanh : UnaryOpAsinh : UnaryOpAcosh : UnaryOpAtanh : UnaryOpShow UnaryOpdata Expr : TypeFromLiteral : PrimitiveRW dtype ty => Literal shape ty -> ExprVar : Nat -> ExprTuple : List Expr -> ExprGetTupleElement : Nat -> Expr -> ExprMinValue : Primitive dtype => ExprMaxValue : Primitive dtype => ExprMinFiniteValue : Primitive dtype => ExprMaxFiniteValue : Primitive dtype => ExprIota : Primitive dtype => Shape -> Nat -> ExprConvertElementType : Primitive dtype => Expr -> ExprReshape : Shape -> Shape -> Expr -> ExprSlice : List Nat -> List Nat -> List Nat -> Expr -> ExprDynamicSlice : List Expr -> List Nat -> Expr -> ExprConcat : Nat -> Expr -> Expr -> ExprDiag : Expr -> ExprTriangle : Bool -> Expr -> ExprTranspose : List Nat -> Expr -> ExprIdentity : Primitive dtype => Nat -> ExprBroadcast : Primitive dtype => Shape -> Shape -> Expr -> ExprMap : Fn arity -> Vect arity Expr -> Shape -> ExprReduce : Fn 2 -> Expr -> List Nat -> Expr -> ExprSort : Fn 2 -> Nat -> Bool -> List Expr -> ExprReverse : List Nat -> Expr -> ExprBinaryElementwise : BinaryOp -> Expr -> Expr -> ExprUnaryElementwise : UnaryOp -> Expr -> ExprArgmax : Primitive out => Nat -> Expr -> ExprSelect : Expr -> Expr -> Expr -> ExprCond : Expr -> Fn 1 -> Expr -> Fn 1 -> Expr -> ExprDot : Expr -> Expr -> ExprDotGeneral : List Nat -> List Nat -> List Nat -> List Nat -> Expr -> Expr -> ExprCholesky : Expr -> ExprTriangularSolve : Expr -> Expr -> Bool -> ExprUniformFloatingPoint : Expr -> Expr -> Expr -> Expr -> Shape -> ExprNormalFloatingPoint : Expr -> Expr -> Shape -> Exprtag : Monad m => Expr -> StateT Env m Exprreserve : State Env Nat