
    Vpf                     "    d dl mZ dedefdZdS )    )
xla_clienttensorboard_dirreturnc                 @    t           j                            |           S )a  Gets the serialized profiled instructions proto from profile.

  Restore the xplane from the tensorboard dir and convert it to profiled
  [ProfiledInstructionsProto](https://github.com/openxla/xla/blob/main/third_party/tsl/tsl/profiler/protobuf/profiled_instructions.proto).
  The result is non-empty only when running on Nvidia GPU.

  Args:
    tensorboard_dir: The directory contains the profile trace, it is in the
      format of `<tb's log_dir>/plugin/profile/<run_dir>/`.

  Returns:
    Serialized
    [ProfiledInstructionsProto](https://github.com/openxla/xla/blob/main/third_party/tsl/tsl/profiler/protobuf/profiled_instructions.proto).
  )r   profilerget_profiled_instructions_proto)r   s    Y/var/www/html/nettyfy-visnx/env/lib/python3.11/site-packages/jax/experimental/profiler.pyr   r      s     
		<	<_	M	MM    N)jax._src.libr   strbytesr    r
   r	   <module>r      sM    $ # # # # #NS NU N N N N N Nr
   