| 541 | TensorValue(mutex* mu, Tensor* t) : mutex_if_ref(mu), tensor(t) {} |
| 542 | Tensor* operator->() const { return tensor; } |
| 543 | bool is_ref() const { return mutex_if_ref != nullptr; } |
| 544 | |
| 545 | // Return the dtype of the Tensor. For references, return the underlying type. |
| 546 | DataType dtype() const { |
no outgoing calls
no test coverage detected