Home
last modified time | relevance | path

Searched refs:src_column_width (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/external/pytorch/torch/autograd/
H A Dprofiler_util.py858 src_column_width = None
865 src_column_width = (
869 src_column_width = min(src_column_width, max_src_column_width)
946 add_column(src_column_width, text_dir="<")
1004 def trim_path(path, src_column_width): argument
1005 if len(path) > src_column_width:
1006 offset = len(path) - src_column_width
1088 src_field = trim_path(evt.stack[0], src_column_width)
1097 *(empty_headers + [trim_path(entry, src_column_width)])