compute.parity · thing ·

numericalIntBackendResult

A numerical int backend result record carrying schema, schemaVersion, operation, dtype, dimensions, and related state.

computecompute.paritycpumethodparitysource-examplethingyeho

Compare numerical results with explicit tolerances and CPU-reference evidence.

external thing numericalIntBackendResult

Status: source-declared

Fields and methods (12)
text schema
Stores schema as text.
int schemaVersion
Stores schema version as int.
text operation
Stores operation as text.
text dtype
Stores dtype as text.
list of int dimensions
Stores dimensions as list of int.
int seed
Stores seed as int.
text device
Stores device as text.
text adapter
Stores adapter as text.
list of int values
Stores values as list of int.
text status
Stores status as text.
numericalIntBackendResult(text operation, list of int dimensions, int seed, text device, text adapter, list of int values, text status)
Numerical int backend result.
Describe() returns text
Describe. Complete example

Use numericalIntBackendResult

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

cpu · source-example · type checked

using compute.parity

// Compare numerical results with explicit tolerances and CPU-reference evidence.
numericalIntBackendResult sample = numericalIntBackendResult("operation", [], 1, "device", "adapter", [], "ready")
Console.Log(Text.From(sample.schema))
project.mech
manifestVersion = "2"
package = "api.example.compute_parity__numericalintbackendresult"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "compute.parity"
version = "0.1.0"
path = "../../../yeho/packages/compute/parity"

[[dependencies]]
package = "compute.profiling"
version = "0.1.0"
path = "../../../yeho/packages/compute/profiling"

[[dependencies]]
package = "compute.simd"
version = "0.1.0"
path = "../../../yeho/packages/compute/simd"

[[dependencies]]
package = "compute.tensor"
version = "0.1.0"
path = "../../../yeho/packages/compute/tensor"

[[dependencies]]
package = "console"
version = "0.1.0"
path = "../../../yeho/packages/console"

[[dependencies]]
package = "diagnostics"
version = "0.1.0"
path = "../../../yeho/packages/diagnostics"

numericalIntBackendResult.Describe

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using compute.parity

// Describe.
numericalIntBackendResult instance = numericalIntBackendResult("operation", [], 1, "device", "adapter", [], "ready")
text result = instance.Describe()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.compute_parity__numericalintbackendresult"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "compute.parity"
version = "0.1.0"
path = "../../../yeho/packages/compute/parity"

[[dependencies]]
package = "compute.profiling"
version = "0.1.0"
path = "../../../yeho/packages/compute/profiling"

[[dependencies]]
package = "compute.simd"
version = "0.1.0"
path = "../../../yeho/packages/compute/simd"

[[dependencies]]
package = "compute.tensor"
version = "0.1.0"
path = "../../../yeho/packages/compute/tensor"

[[dependencies]]
package = "console"
version = "0.1.0"
path = "../../../yeho/packages/console"

[[dependencies]]
package = "diagnostics"
version = "0.1.0"
path = "../../../yeho/packages/diagnostics"
Notes and source

Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

yeho/packages/compute/parity/numerics_contract.yh:167