def tensor_read_owner

bendtorch-core@0.1.0.0 · src/tensor/elementwise_PROOF.bend:100

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

100def tensor_read_owner(-shape: Shape.Shape, pair: Core.Tensor<shape> & Result<&2, &2, Core.Error, F32>) -> Core.Tensor<shape>:
101  (owner, result) = pair
102  owner

Uses (7)

Used by (4)