Scan your whole stack
From OX Research Newsroom
Are you using tensorflow-riemopt?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.4.5
tensorflow-riemopt was last scanned on 23 Nov 2026 at version 0.4.5. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.4.5 LATEST | 23 Nov 2026 | No rules fired |
| 0.4.3 | 10 Nov 2026 | No rules fired |
| 0.4.1 | 7 Nov 2026 | No rules fired |
Findings for v0.4.5. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.4.5; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
A library for manifold-constrained optimization in TensorFlow.
To install a package from PyPI:
pip install tensorflow-riemopt
To add it to a project managed by uv:
uv add tensorflow-riemopt
To install the latest development version from GitHub:
pip install git+https://github.com/master/tensorflow-riemopt.git
To work on the library from a clone of the repository:
git clone https://github.com/master/tensorflow-riemopt.git
cd tensorflow-riemopt
uv sync --group dev
The core package implements concepts in differential geometry, such as manifolds and Riemannian metrics with associated exponential and logarithmic maps, geodesics, retractions, and transports. For manifolds, where closed-form expressions are not available, the library provides numerical approximations.
import tensorflow as tf
import tensorflow_riemopt as riemopt
S = riemopt.manifolds.Sphere()
x = S.projx(tf.constant([0.1, -0.1, 0.1]))
u = S.proju(x, tf.constant([1., 1., 1.]))
v = S.proju(x, tf.constant([-0.7, -1.4, 1.4]))
y = S.exp(x, v)
u_ = S.transp(x, y, u)
v_ = S.transp(x, y, v)
manifolds.Cholesky - manifold of lower triangular matrices with positive diagonal elementsmanifolds.Euclidean - unconstrained manifold with the Euclidean metricmanifolds.Grassmannian - manifold of p-dimensional linear subspaces of the n-dimensional spacemanifolds.Hyperboloid - manifold of n-dimensional hyperbolic space embedded in the n+1-dimensional Minkowski spacemanifolds.Poincare - the Poincaré ball model of the hyperbolic spacemanifolds.Product - Cartesian product of manifoldsmanifolds.SPDAffineInvariant - manifold of symmetric positive definite (SPD) matrices endowed with the affine-invariant metricmanifolds.SPDLogCholesky - SPD manifold with the Log-Cholesky metricmanifolds.SPDLogEuclidean - SPD manifold with the Log-Euclidean metricmanifolds.SpecialOrthogonal - manifold of rotation matricesmanifolds.Sphere - manifold of unit-normalized pointsmanifolds.StiefelEuclidean - manifold of orthonormal p-frames in the n-dimensional space endowed with the Euclidean metricmanifolds.StiefelCanonical - Stiefel manifold with the canonical metricmanifolds.StiefelCayley - Stiefel manifold the retraction map via an iterative Cayley transformConstrained optimization algorithms work as drop-in replacements for Keras optimizers for sparse and dense updates in both Eager and Graph modes.
optimizers.RiemannianSGD - Riemannian Gradient Descentoptimizers.RiemannianAdam - Riemannian Adam and AMSGradoptimizers.ConstrainedRMSprop - Constrained RMSProplayers.ManifoldEmbedding - constrained keras.layers.Embedding layerIf you find TensorFlow RiemOpt useful in your research, please cite:
@misc{smirnov2021tensorflow,
title={TensorFlow RiemOpt: a library for optimization on Riemannian manifolds},
author={Oleg Smirnov},
year={2021},
eprint={2105.13921},
archivePrefix={arXiv},
primaryClass={cs.MS}
}
For support or development inquiries, contact us at: tensorflow-riemopt-dev@googlegroups.com
Report bugs and request features in the issue tracker along with a minimal snippet that reproduces the problem. To work on the code, clone the repository and run:
uv sync --locked --group dev
uv run pytest -q tensorflow_riemopt
uv run black --line-length 80 --check tensorflow_riemopt
TensorFlow RiemOpt was inspired by many similar projects:
The code is MIT-licensed.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.