Only print bytecode of inlined function if output_code is True (#95969)
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/95969
Approved by: https://github.com/janeyx99, https://github.com/jansel