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

Method Clear

tensorflow/core/distributed_runtime/tensor_coding.cc:28–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26TensorResponse::Source::~Source() {}
27
28void TensorResponse::Clear() {
29 on_host_ = false;
30 device_ = nullptr;
31 alloc_attrs_ = AllocatorAttributes();
32 allocator_ = nullptr;
33 already_used_ = false;
34 ClearTensor();
35}
36
37void TensorResponse::ClearTensor() {
38 meta_.Clear();

Callers 13

TEST_FFunction · 0.45
ProcessStatsMethod · 0.45
ClearTensorMethod · 0.45
ParseFromMethod · 0.45
TEST_FFunction · 0.45
ResetMethod · 0.45
ResetMethod · 0.45
ResetMethod · 0.45
DeserializeMethod · 0.45
OnCompletedMethod · 0.45
RequestReadMethod · 0.45

Calls 1

AllocatorAttributesClass · 0.85

Tested by 2

TEST_FFunction · 0.36
TEST_FFunction · 0.36