Has any data been tracked by this instance. This counts the tensor and blob data that have been scanned but skipped. Returns: Whether this stats tracking object has tracked any data.
(self)
| 154 | return self._plugin_names |
| 155 | |
| 156 | def has_data(self): |
| 157 | """Has any data been tracked by this instance. |
| 158 | |
| 159 | This counts the tensor and blob data that have been scanned |
| 160 | but skipped. |
| 161 | |
| 162 | Returns: |
| 163 | Whether this stats tracking object has tracked any data. |
| 164 | """ |
| 165 | return ( |
| 166 | self._num_scalars > 0 |
| 167 | or self._num_tensors > 0 |
| 168 | or self._num_blobs > 0 |
| 169 | ) |
| 170 | |
| 171 | def summarize(self): |
| 172 | """Get a summary string for actually-uploaded and skipped data. |
no outgoing calls