MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ResetDefinitionEvent

Method ResetDefinitionEvent

tensorflow/compiler/jit/xla_tensor.cc:94–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void XlaTensor::ResetDefinitionEvent(std::shared_ptr<se::Event> event,
95 se::Stream* stream) {
96 mutex_lock lock(mu_);
97 definition_event_ = std::move(event);
98 streams_defined_on_ = {stream};
99}
100
101Status XlaTensor::RefreshStatusOfStreams() {
102 mutex_lock lock(mu_);

Callers 2

CopyCPUTensorToDeviceMethod · 0.80
PopulateOutputsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected