Class NDExprCompileContext
public sealed class NDExprCompileContext
- Inheritance
-
NDExprCompileContext
- Inherited Members
- Extension Methods
Constructors
NDExprCompileContext(NPTypeCode[], NPTypeCode, LocalBuilder[], bool)
public NDExprCompileContext(NPTypeCode[] inputTypes, NPTypeCode outputType, LocalBuilder[] inputLocals, bool vectorMode)
Parameters
inputTypesNPTypeCode[]outputTypeNPTypeCodeinputLocalsLocalBuilder[]vectorModebool
NDExprCompileContext(NPTypeCode[], NPTypeCode, LocalBuilder[], bool, IReadOnlyDictionary<NDExpr, NPTypeCode>?)
public NDExprCompileContext(NPTypeCode[] inputTypes, NPTypeCode outputType, LocalBuilder[] inputLocals, bool vectorMode, IReadOnlyDictionary<NDExpr, NPTypeCode>? nodeTypes)
Parameters
inputTypesNPTypeCode[]outputTypeNPTypeCodeinputLocalsLocalBuilder[]vectorModeboolnodeTypesIReadOnlyDictionary<NDExpr, NPTypeCode>
Properties
InputLocals
public LocalBuilder[] InputLocals { get; }
Property Value
InputTypes
public NPTypeCode[] InputTypes { get; }
Property Value
NodeTypes
Per-node resolved dtypes (NumPy result_type mode, produced by the typing pass for CompileNumPy(NPTypeCode[], out NPTypeCode, string?)). Null in legacy mode, where every node computes at OutputType. Keyed by node reference.
public IReadOnlyDictionary<NDExpr, NPTypeCode>? NodeTypes { get; }
Property Value
OutputType
public NPTypeCode OutputType { get; }
Property Value
VectorMode
public bool VectorMode { get; }