Add file parameter to Inspector.print_data_tabular (#1278)
Summary: Add a `file` parameter (mimicking the builtin `print` function) that can be used to print the tabular data to a different location. It can be sys.stdout (the default) for the existing behavior, or a file, or a string stream. This argument isn't used when in a Jupyter notebook. Pull Request resolved: https://github.com/pytorch/executorch/pull/1278 Reviewed By: Olivia-liu Differential Revision: D51533846 Pulled By: dulinriley fbshipit-source-id: 01b7277f6e7c2abe83677c22aab28889b65dfdfc
R
Riley Dulin committed
5df2c75447223a68c41b3bd7e0a58d940bfdb40f
Parent: 3f96fe1
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 11/27/2023, 8:09:25 PM