MatX icon indicating copy to clipboard operation
MatX copied to clipboard

[FEA] add ability to print shape only

Open luitjens opened this issue 1 year ago • 1 comments

When we get to larger tensors it is useful to print shapes for debugging without printing the contents. We should add this functionality.

Options I see:

  1. printShape(op)
  2. print(op, false) // changes signature of print to print(T op, content=true)

luitjens avatar Aug 16 '24 16:08 luitjens

all we should need to do is move this blurb to a separate API , and make it conditional in the print call

tylera-nvidia avatar Aug 16 '24 16:08 tylera-nvidia