Skip to content
Back to skills

Sparse Tensor Data

ASecurity

"Helps with MinkowskiEngine SparseTensor, TensorField, batching,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
toolsapi

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill sparse-tensor-data --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sparse Tensor Data?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sparse Tensor Data
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-sparse-tensor-data/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-sparse-tensor-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sparse-tensor-data
description: "Helps with MinkowskiEngine SparseTensor, TensorField, batching,
  quantization, coordinate-manager, and dense/sparse conversion workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# Sparse Tensor Data

Use this sub-skill when the task is about coordinates, sparse tensor construction, voxelization, batching, TensorField slicing/splatting, or dense/sparse conversion.

## What This Route Covers

- `SparseTensor` and `TensorField` creation.
- `sparse_quantize`, `sparse_collate`, `batched_coordinates`, and `SparseCollation`.
- Coordinate-manager/key sharing and sparse tensor arithmetic.
- Batch-wise decomposition and coordinate lookup.
- Dense-to-sparse and sparse-to-dense conversion helpers.
- Continuous-coordinate workflows that start from `TensorField`.

## What It Excludes

- Build/install problems; use `../build-and-install/SKILL.md`.
- Layer/network construction; use `../layers-and-networks/SKILL.md`.
- Training/demo pipelines; use `../training-and-demos/SKILL.md`.

## Read These Bundled Files First

- `references/api-reference.md` for verified signatures and public API names.
- `references/workflows.md` for step-by-step recipes.
- `references/troubleshooting.md` for coordinate, dtype, quantization, and manager/key failures.
- `scripts/sparse_tensor_smoke.py` for a safe synthetic smoke test.

## Typical Triggers

- You need to turn points into batched sparse tensors.
- You need to quantize coordinates or recover inverse maps.
- You see coordinate-manager/key mismatch errors.
- You need to slice a sparse output back onto an input field.
- You want to inspect batch-wise coordinates or features.

## Fast Workflow

1. Read the API reference to confirm the exact constructor and helper signatures.
2. Decide whether the input is discrete coordinates or continuous coordinates.
3. Pick `sparse_collate`/`batched_coordinates` for batches and `sparse_quantize` for voxelization.
4. Share the coordinate manager or map key when tensors must interact.
5. Run the bundled smoke script to verify a minimal path.

## Public Semantic Rules

- Batch indices are prepended in the first coordinate column.
- Coordinates and features must be 2D matrices.
- `TensorField` is the right starting point for continuous coordinates that need quantization or splatting.
- Sparse tensor arithmetic requires compatible coordinate managers or keys.

## Related Helpers

- `../../scripts/check_minkowski_engine.py` — import and tiny package smoke.
- `scripts/sparse_tensor_smoke.py` — tiny sparse tensor workflow smoke.

## When to Stop

If the issue is really about a convolution or pooling operator, stop here and route to `layers-and-networks`. If it is about dataset loading, collate functions, or demos, route to `training-and-demos`.

Files in this skill

  • SKILL.md2.8 KB
  • references/api-reference.md4.9 KB
  • references/troubleshooting.md3.2 KB
  • references/workflows.md2.9 KB
  • scripts/sparse_tensor_smoke.py3.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.