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

Method clear

tensorflow/compiler/xla/service/shaped_buffer.cc:83–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void ShapedBuffer::clear() {
84 for (auto& pair : buffers_) {
85 // A default constructed DeviceMemoryBase is a null pointer.
86 pair.second = se::DeviceMemoryBase();
87 }
88}
89
90string ShapedBuffer::ToString() const {
91 string s = absl::StrCat(

Callers 15

ClearMethod · 0.45
OpQuantSpecWriterFunction · 0.45
runOnFunctionMethod · 0.45
GetXlaInputShapesFunction · 0.45
GetOutputInfoFunction · 0.45
ConsumeStatusMethod · 0.45
CombineMethod · 0.45
TrackAccessMethod · 0.45

Calls 1

DeviceMemoryBaseClass · 0.50

Tested by 9

OpQuantSpecWriterFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
CheckTransitiveClosureFunction · 0.36
ResetInputsMethod · 0.36
ResetMethod · 0.36