def swapped
import bendtorch-core@0.1.0.0/src/autograd/tensor_vjp_LAWS.bend as TensorVjpLAWSimport Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/transpose_spec.bend as Transpose
221# The axes transpose_dynamic(t, 0, 1) permutes t by, and the shape of the
222# copy the plan gives.
223def swapped(+shape: Shape.Shape) -> List<&2, U32>:
224 Transpose.swapped_axes(shape, 0, 1)
Uses (4)
Used by (13)
- bendtorch-core@0.1.0.0/src/autograd/tensor_vjp_LAWS:transposed
- bendtorch-core@0.1.0.0/src/autograd/tensor_vjp_PROOF:swapped_matrix
- bendtorch-core@0.1.0.0/src/autograd/tensor_vjp_PROOF:MatmulGoal
- bendtorch-core@0.1.0.0/src/autograd/tensor_vjp_PROOF:first_factors
- bendtorch-core@0.1.0.0/src/autograd/tensor_vjp_PROOF:matmul_values
- …