type CoordinateRead

bendtorch-core@0.1.0.0 · src/tensor/matmul_PROOF.bend:34

import bendtorch-core@0.1.0.0/src/tensor/matmul_PROOF.bend as MatmulPROOF
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core
import bendtorch-core@0.1.0.0/src/tensor/matmul_LAWS.bend as Laws

34type CoordinateRead<-shape: Shape.Shape, -original: Core.Tensor<shape>, -coordinates: List<&2, U32>> is Type:
35  CoordinateRead{tensor: Core.Tensor<shape>, result: Result<&2, &2, Core.Error, F32>,
36    exact: {(tensor, result) == Core.read_coordinate(shape, original, coordinates) : Core.Tensor<shape> & Result<&2, &2, Core.Error, F32>},
37    -meaning: @unit: Unit -> {Core.result_value(result) == Laws.coordinate_observe(shape, original, coordinates) : Maybe<&2, F32>},
38    -kept: @+other: U32 -> {Core.checked_observe(shape, tensor, other) == Core.checked_observe(shape, original, other) : Maybe<&2, F32>}}

Uses (15)

Used by (5)