| 17 | } |
| 18 | |
| 19 | void 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 | |
| 28 | void StarFuseTensorResponse::Clear() { |
| 29 | StarTensorResponse::Clear(); |
no test coverage detected