بنقرة واحدة
t81-tensor-ops
Perform deterministic tensor operations with ternary precision and policy enforcement
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Perform deterministic tensor operations with ternary precision and policy enforcement
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Execute bounded AI task chains (assess-fixed, route-fixed, classify-fixed) with deterministic guarantees
Create T81 decision bundles with complete provenance and cryptographic verification
Validate and verify T81 decision bundles for deterministic execution
Export files from T81 CanonFS with hash verification and integrity validation
Import files into T81 CanonFS for immutable, hash-verified storage
Demonstrate T81's policy-gated computation with educational examples
| name | t81_tensor_ops |
| description | Perform deterministic tensor operations with ternary precision and policy enforcement |
| metadata | {"openclaw":{"os":["darwin","linux"],"requires":{"bins":["t81"]}}} |
This skill performs deterministic tensor operations using T81's ternary arithmetic with guaranteed bit-identical results and policy enforcement.
When the user needs to perform mathematical tensor operations with deterministic guarantees, use this skill for ternary-precision computations.
Basic tensor operations:
tensor-math <operation> <tensor_a> <tensor_b> [--output <output_file>] [--precision ternary|binary]
Tensor reshaping:
tensor-reshape <tensor_file> <new_shape> [--output <output_file>]
Tensor validation:
tensor-validate <tensor_file> [--check-integrity] [--check-determinism]
Tensor conversion:
tensor-convert <tensor_file> [--to-format t81w|safetensors|gguf] [--output <output_file>]
Tensor statistics:
tensor-stats <tensor_file> [--detailed] [--histogram] [--output <stats_file>]
Batch operations:
tensor-batch <operation> <tensor_dir> [--recursive] [--output-dir <dir>]
# Add two tensors with ternary precision
tensor-math add tensor_a.t81w tensor_b.t81w --output result.t81w --precision ternary
# Reshape tensor to new dimensions
tensor-reshape model.t81w "[1,256,256,3]" --output reshaped.t81w
# Validate tensor integrity and determinism
tensor-validate weights.t81w --check-integrity --check-determinism
# Convert tensor format
tensor-convert model.gguf --to-format t81w --output model.t81w
# Get detailed tensor statistics
tensor-stats layer_weights.t81w --detailed --histogram --output stats.json
# Batch process all tensors in directory
tensor-batch normalize ./tensors/ --recursive --output-dir ./normalized/
Arithmetic Operations:
add - Element-wise tensor additionsubtract - Element-wise tensor subtractionmultiply - Element-wise tensor multiplicationdivide - Element-wise tensor divisiondot - Dot product / matrix multiplicationcross - Cross product (for 3D tensors)Unary Operations:
abs - Absolute valueneg - Negationsqrt - Square rootexp - Exponentiallog - Natural logarithmnormalize - L2 normalizationComparison Operations:
equal - Element-wise equalitygreater - Element-wise greater thanless - Element-wise less thanmax - Element-wise maximummin - Element-wise minimumAggregation Operations:
sum - Sum of all elementsmean - Mean of all elementsmax - Global maximummin - Global minimumstd - Standard deviationTernary Precision:
Binary Precision:
Operation Result:
{
"status": "success",
"operation": "add",
"tensor_a": "tensor_a.t81w",
"tensor_b": "tensor_b.t81w",
"output": "result.t81w",
"timestamp": "2026-04-04T15:30:00Z",
"precision": "ternary",
"properties": {
"shape": "[256,256]",
"dtype": "ternary_float",
"size_bytes": 262144,
"determinism_hash": "CanonHash81..."
},
"validation": {
"integrity": "passed",
"determinism": "verified",
"policy_compliance": "approved"
}
}
Tensor Statistics:
{
"tensor_file": "weights.t81w",
"timestamp": "2026-04-04T15:30:00Z",
"shape": "[512,512]",
"dtype": "ternary_float",
"statistics": {
"min": -1.0,
"max": 1.0,
"mean": 0.0,
"std": 0.577,
"zeros": 134217728,
"positives": 67108864,
"negatives": 67108864
},
"histogram": {
"-1.0": 67108864,
"0.0": 134217728,
"1.0": 67108864
},
"provenance": {
"tensor_hash": "CanonHash81...",
"creation_time": "2026-04-04T14:15:00Z",
"last_modified": "2026-04-04T15:30:00Z"
}
}
Input Formats:
.t81w - T81 native ternary tensor format.safetensors - Hugging Face safe tensors.gguf - GGUF format (limited support).npy - NumPy arraysOutput Formats:
.t81w - Native T81 format (recommended).json - Metadata and statistics.csv - Tabular data for 1D tensorsTernary Advantages:
Optimization Features:
This skill wraps T81's tensor operation engine:
t81 tensor <operation> <tensor_a> <tensor_b> --output <output> --precision ternary --json