DedaggedTracingTensor

data class DedaggedTracingTensor<T : Any>(numInputs: Int, numTemps: Int, numResults: Int, assignments: List<Pair<Int, Traceable>>, value: T, traceId: TraceId, canScalarEval: Boolean)

The result of removing reused nodes in a data structure. Reused nodes are replaced by a TracingTensor.Variable, and an assignment to that variable is placed into the resulting assignments.

Constructors

DedaggedTracingTensor
Link copied to clipboard
fun <T : Any> DedaggedTracingTensor(numInputs: Int, numTemps: Int, numResults: Int, assignments: List<Pair<Int, Traceable>>, value: T, traceId: TraceId, canScalarEval: Boolean)

Properties

assignments
Link copied to clipboard
val assignments: List<Pair<Int, Traceable>>
canScalarEval
Link copied to clipboard
val canScalarEval: Boolean
numInputs
Link copied to clipboard
val numInputs: Int
numResults
Link copied to clipboard
val numResults: Int
numTemps
Link copied to clipboard
val numTemps: Int
traceId
Link copied to clipboard
val traceId: TraceId
value
Link copied to clipboard
val value: T