Skip to contents

List tensor names, dtypes, and shapes without reading data.

Usage

safetensors_ls(path)

Arguments

path

Path to a .safetensors file.

Value

Data frame with name, dtype, shape (comma string).

See also

safetensors_read() to read the tensors.