data.ops.iterator_ops.OwnedIterator  flattened in profile session
Hi @annaa-ka ,

Tf2.6v is quiet older and not supported right now as current version is TF2.15v. Could you please try with latest version as it possible many bugs resolved with each latest version.

Also without code snippet it's hard to analyse the issue.Could you submit the code in the form of a colab gist with latest versions? > Hi @annaa-ka ,
> 
> Tf2.6v is quiet older and not supported right now as current version is TF2.15v. Could you please try with latest version as it possible many bugs resolved with each latest version.
> 
> Also without code snippet it's hard to analyse the issue.Could you submit the code in the form of a colab gist with latest versions?

Unfortunately, I cannot upgrade tf up to 2.15v, as we have a very big project and a lot of checks should be made before the upgrade.

As far as I understood, profiler does some extra checks. Maybe there are any methods that I can use in order to understand what this iterator is used for, or in which function uses it? And we have a custom code for multihost train, i do not know how to paste it into collab

 Please have a look into the source code and doc string of [OwnedIterator](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/data/ops/iterator_ops.py#L658) in case it is of any help. This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/62574">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/62574">No</a>

### Issue type

Support

### Have you reproduced the bug with TensorFlow Nightly?

No

### Source

binary

### TensorFlow version

2.6.2

### Custom code

Yes

### OS platform and distribution

Ubuntu 20.04.6 LTS

### Mobile device

_No response_

### Python version

Python 3.8.10

### Bazel version

bazel 5.2.0-1

### GCC/compiler version

gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0

### CUDA/cuDNN version

CUDA Version: 12.0

### GPU model and memory

_No response_

### Current behavior?

When I try to profile train using TensorBoard callback , i got stuck on such problem
https://pastebin.com/Npzjb1x7
and it results in infinite loop because of such problem (https://github.com/OpenMined/PySyft/issues/7042)


### Standalone code to reproduce the issue

```shell
I do not actually know, what to paste as an example, actually I came to ask for help how to debug whether it is a normal behaviour
```


### Relevant log output

_No response_