| 242 | } |
| 243 | |
| 244 | int64_t Tensor::GetSizeInBytes() const |
| 245 | { |
| 246 | // m_size_inbytes == -1 indicates failure case and value has not been computed yet |
| 247 | NVCV_ASSERT(m_size_inbytes != -1 |
| 248 | && "Tensor has m_size_inbytes == -1, ie m_size_inbytes has not been correctly set"); |
| 249 | return m_size_inbytes; |
| 250 | } |
| 251 | |
| 252 | std::shared_ptr<Tensor> Tensor::shared_from_this() |
| 253 | { |
nothing calls this directly
no outgoing calls
no test coverage detected