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

Method Clear

tensorflow/contrib/star/star_tensor_coding.cc:19–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19void StarTensorResponse::Clear() {
20 on_host_ = false;
21 device_ = nullptr;
22 alloc_attrs_ = AllocatorAttributes();
23 allocator_ = nullptr;
24 tensor_ = Tensor();
25 tensor_proto_ = TensorProto();
26}
27
28void StarFuseTensorResponse::Clear() {
29 StarTensorResponse::Clear();

Callers 4

SetSignaturesFunction · 0.45
ReadRowMethod · 0.45
ResetMethod · 0.45
ResetMethod · 0.45

Calls 4

AllocatorAttributesClass · 0.85
TensorClass · 0.50
TensorProtoClass · 0.50
clearMethod · 0.45

Tested by

no test coverage detected