OnnxTensorContract
dicechess.engine.model.OnnxTensorContract
One tensor of a loaded ONNX graph, as the runtime reports it. Separated from the checks below so the shape rules can be tested without a real session — every dimension and dtype branch is reachable from a value, not from a fixture.
Value parameters
- shape
-
dimensions as ONNX Runtime states them: a negative entry is a dynamic (symbolic) axis
Attributes
- Source
- OnnxModelContract.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article