def clone_second_model

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

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

18def clone_second_model(-shape: Shape.Shape, pair: Core.Tensor<shape> & Core.Tensor<shape>, index: U32) -> Maybe<&2, F32>:
19  (first, second) = pair
20  Core.observe(shape, second, index)

Uses (8)

Used by (4)