mirror of
https://github.com/pytorch/pytorch.git
synced 2025-11-06 09:17:11 +08:00
Trace fork and join calls
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/16232 Differential Revision: D13772974 Pulled By: jamesr66a fbshipit-source-id: b2db370271809e26d3301f8cc98eec567db5e62b
This commit is contained in:
committed by
Facebook Github Bot
parent
8c81a72e87
commit
d1ed0176df
@ -149,7 +149,7 @@ static Tensor dispatch_contiguous(const Tensor & self) {
|
||||
auto node = tracer_state->graph->create(jit::aten::contiguous, /*num_outputs=*/0);
|
||||
jit::tracer::recordSourceLocation(node);
|
||||
jit::tracer::addInputs(node, "self", self_);
|
||||
tracer_state->graph->appendNode(node);
|
||||
tracer_state->graph->insertNode(node);
|
||||
jit::tracer::addOutput(node, self_);
|
||||
}
|
||||
Py_INCREF(self);
|
||||
|
||||
Reference in New Issue
Block a user