law reader_certificate_value

bendtorch-core@0.1.0.0 · src/tensor/core_LAWS.bend:74

import bendtorch-core@0.1.0.0/src/tensor/core_LAWS.bend as CoreLAWS
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

74law reader_certificate_value:
75  for +shape: Shape.Shape
76  for original: Core.Tensor<shape>
77  for +index: U32
78  for certificate: Core.Read<shape, original, index>
79  {Core.read_value(shape, Core.read_flat(shape, original, index)) ==
80    Core.certificate_value(shape, original, index, certificate) : Maybe<&2, F32>}

Uses (10)

Used by (0)

No other definition uses this definition.