tokens_to_matrix — REPRCONV exit op

• 数据种类:tokens → matrix

• 调用: import fullseye as fs; fs.ledger.tokens_to_matrix(tokens)(要直接调用实现,import reprconv; reprconv.tokens_to_matrix(tokens);从台账取用则 opsreprconv.get("tokens_to_matrix"))

• GPU:无(仅 CPU 参考实现)

用法

token 序列 tokens (T, d) → 一般矩阵 matrix (T, d)。tokens 类型的出口。

> 以下的详细说明为原文 —— 摘要与标题已翻译。

中身は変えない(写しを返す)。tokens を matrix と分けてあるのは、入る側で転置した (d, T) が黙って通るのを防ぐため(opsllmcore の docstring)で、出る側は一般の行列として扱ってよい —— SVD・条件数・ノルムなど matrix の op がそのまま掛かる(例: 注意の出力の実効次数を mat_cond で見る)。逆向き(matrix → tokens)は軸の順を確かめようがないので作らない。

Args:

tokens: (T, d) の有限な実数列。

Returns:

(T, d) float64。

Raises:

ValueError: 2-D でない / 非有限 / 空。

参考(示例数据、文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

• 算法的正典(作者、年份)与用途见上面的族使用指南。

可运行的示例(实际调用该算子并已验证的样例)

• type_connectivity_tour — py -3.11 examples/type_connectivity_tour.py

类型可衔接的下一个算子(可接受 matrix 作为输入)

matrix_to_descriptor · matrix_to_angle · matrix_to_rot_scale

同类别(exit)

pose_to_matrix · pairs_peak_x


*Provenance: reprconv.py — REPRCONV 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.