Idris2Doc : Compiler.Expr

Compiler.Expr

For internal spidr use only.

Definitions

dataParameter : Type
Totality: total
Visibility: public export
Constructor: 
MkParameter : Shape-> (0dtype : Type) ->Primitivedtype=>Parameter

Hint: 
ShowParameter
dataEnv : Type
Totality: total
Visibility: export
Constructor: 
MkEnv : Nat->List (Nat, Expr) ->Env
empty : Env
Totality: total
Visibility: export
emptyFrom : Env->Env
Totality: total
Visibility: export
updateCounterFrom : Env->StateEnv ()
Totality: total
Visibility: export
toList : Env->List (Nat, Expr)
Totality: total
Visibility: export
counter : Env->Nat
Totality: total
Visibility: export
dataFn : Nat->Type
Totality: total
Visibility: public export
Constructor: 
MkFn : Vectarity (Nat, Parameter) ->Expr->Env->Fnarity
  @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.

Hint: 
Show (Fnarity)
dataBinaryOp : Type
Totality: total
Visibility: public export
Constructors:
Eq : BinaryOp
Ne : BinaryOp
Lt : BinaryOp
Gt : BinaryOp
Le : BinaryOp
Ge : BinaryOp
And : BinaryOp
Or : BinaryOp
Add : BinaryOp
Sub : BinaryOp
Mul : BinaryOp
Div : BinaryOp
Rem : BinaryOp
Pow : BinaryOp
Min : BinaryOp
Max : BinaryOp

Hint: 
ShowBinaryOp
dataUnaryOp : Type
Totality: total
Visibility: public export
Constructors:
Not : UnaryOp
Neg : UnaryOp
Reciprocal : UnaryOp
Ceil : UnaryOp
Floor : UnaryOp
Abs : UnaryOp
Log : UnaryOp
Exp : UnaryOp
Logistic : UnaryOp
Erf : UnaryOp
Square : UnaryOp
Sqrt : UnaryOp
Sin : UnaryOp
Cos : UnaryOp
Tan : UnaryOp
Asin : UnaryOp
Acos : UnaryOp
Atan : UnaryOp
Sinh : UnaryOp
Cosh : UnaryOp
Tanh : UnaryOp
Asinh : UnaryOp
Acosh : UnaryOp
Atanh : UnaryOp

Hint: 
ShowUnaryOp
dataExpr : Type
Totality: total
Visibility: public export
Constructors:
FromLiteral : PrimitiveRWdtypety=>Literalshapety->Expr
Var : Nat->Expr
Tuple : ListExpr->Expr
GetTupleElement : Nat->Expr->Expr
MinValue : Primitivedtype=>Expr
MaxValue : Primitivedtype=>Expr
MinFiniteValue : Primitivedtype=>Expr
MaxFiniteValue : Primitivedtype=>Expr
Iota : Primitivedtype=>Shape->Nat->Expr
ConvertElementType : Primitivedtype=>Expr->Expr
Reshape : Shape->Shape->Expr->Expr
Slice : ListNat->ListNat->ListNat->Expr->Expr
DynamicSlice : ListExpr->ListNat->Expr->Expr
Concat : Nat->Expr->Expr->Expr
Diag : Expr->Expr
Triangle : Bool->Expr->Expr
Transpose : ListNat->Expr->Expr
Identity : Primitivedtype=>Nat->Expr
Broadcast : Primitivedtype=>Shape->Shape->Expr->Expr
Map : Fnarity->VectarityExpr->Shape->Expr
Reduce : Fn2->Expr->ListNat->Expr->Expr
Sort : Fn2->Nat->Bool->ListExpr->Expr
Reverse : ListNat->Expr->Expr
BinaryElementwise : BinaryOp->Expr->Expr->Expr
UnaryElementwise : UnaryOp->Expr->Expr
Argmax : Primitiveout=>Nat->Expr->Expr
Select : Expr->Expr->Expr->Expr
Cond : Expr->Fn1->Expr->Fn1->Expr->Expr
Dot : Expr->Expr->Expr
DotGeneral : ListNat->ListNat->ListNat->ListNat->Expr->Expr->Expr
Cholesky : Expr->Expr
TriangularSolve : Expr->Expr->Bool->Expr
UniformFloatingPoint : Expr->Expr->Expr->Expr->Shape->Expr
NormalFloatingPoint : Expr->Expr->Shape->Expr
tag : Monadm=>Expr->StateTEnvmExpr
Totality: total
Visibility: export
reserve : StateEnvNat
Totality: total
Visibility: export