Skip to main content

Mojo function

trace_slice_arg

trace_slice_arg(name: String, buf: ManagedTensorSlice[static_spec=buf.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.