Skip to main content

Mojo function

trace_slice_arg

trace_slice_arg(name: String, buf: ManagedTensorSlice[io_spec, static_spec=static_spec]) -> String

Helper to stringify the type and shape of a kernel argument for tracing.

Args:

Returns:

String: A string representation of the buffer with its shape and data type.

Was this page helpful?