Skip to content

Implement CPU tensor convert op - #636

Merged
michalharakal merged 1 commit into
developfrom
feature/tensor-convert-pr3
May 27, 2026
Merged

michalharakal merged 1 commit into
developfrom
feature/tensor-convert-pr3

Conversation

@michalharakal

Copy link
Copy Markdown
Contributor

Summary

  • implement DefaultCpuOps.convert for dense FP32, FP16, Int32, and Int8 targets
  • preserve shape and gradient participation when converting
  • add CPU backend coverage for same-dtype, float-to-float, int-to-float, float-to-int, and unsupported targets

Validation

  • ./gradlew :skainet-backends:skainet-backend-cpu:jvmTest --no-daemon

Fixes #635

@michalharakal
michalharakal merged commit d8a3586 into develop May 27, 2026
7 of 11 checks passed
@michalharakal
michalharakal deleted the feature/tensor-convert-pr3 branch May 30, 2026 18:50
MacOS pushed a commit to MacOS/SKaiNET that referenced this pull request Jul 10, 2026
Bumps VERSION_NAME 0.25.0 → 0.26.0 with the matching CHANGELOG entry,
README "What's New in 0.26.0" section, and sample-dependency version
bumps across the how-to and tutorial pages.

The 0.26.0 release rolls up the first-class tanh activation primitive
(SKaiNET-developers#630/SKaiNET-developers#631), the CPU tensor convert op (SKaiNET-developers#636), and test/build/CI
hygiene (SKaiNET-developers#633, SKaiNET-developers#634, SKaiNET-developers#638, SKaiNET-developers#640, SKaiNET-developers#645).

Operator docs regenerated so the version stamp reads 0.26.0. The
native-FFM plan draft was removed from the repo root; a short design
summary now lives in reference/architecture.adoc.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement CPU TensorOps.convert for dense numeric tensors

1 participant