def clone_second_checked

bendtorch-core@0.1.0.0 · src/tensor/construction_LAWS.bend:10

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

10def clone_second_checked(-shape: Shape.Shape, pair: Core.Tensor<shape> & Core.Tensor<shape>, index: U32) -> Maybe<&2, F32>:
11  (first, second) = pair
12  Core.checked_observe(shape, second, index)

Uses (8)

Used by (4)