Deep.Net


ConstSpec

Namespace: SymTensor

scalar constant value

Functions and values

Function or valueDescription
isZero cs
Signature: cs:ConstSpecT -> bool

true if constant is zero

maxValue typ
Signature: typ:Type -> ConstSpecT

maximum value constant of specified type

minValue typ
Signature: typ:Type -> ConstSpecT

minimum value constant of specified type

ofValue value
Signature: value:obj -> ConstSpecT

creates a ConstSpecT from a scalar value

one typ
Signature: typ:Type -> ConstSpecT

one of specified type

two typ
Signature: typ:Type -> ConstSpecT

two of specified type

typ cs
Signature: cs:ConstSpecT -> Type

the type of the constant

typeName cs
Signature: cs:ConstSpecT -> TypeNameT

the type name of the constant

value cs
Signature: cs:ConstSpecT -> '?178549
Type parameters: '?178549

gets the value

zero typ
Signature: typ:Type -> ConstSpecT

zero constant of specified type

Fork me on GitHub