syten::STensorImpl::Autodiff::ComputeNode::ComputeNode | ( | std::string && | opname_, |
Vec< Pair< ComputeNodePtr, Size > > && | input_nodes_, | ||
Vec< STensorId > && | output_ids_, | ||
AdjointEvaluator && | func_, | ||
Vec< STensor > && | output_shapes_, | ||
Vec< AsyncCached< STensor > > && | cached_tensors_ = {} |
||
) |
Standard ctor.
References cached_tensors, syten::STensorImpl::conj(), output_ids, output_shapes, and SYTEN_ASSERT.