def padded_count

stelliferous@0.0.2.0 · tensor_layout.bend:547

import stelliferous@0.0.2.0/tensor_layout.bend as TensorLayout
import Base
import stelliferous@0.0.2.0/tensor.bend as Tensors

547def padded_count(shape: Maybe<&2,List<&2,U32>>) -> Maybe<&2,U32>:
548  match shape:
549    case Some{shape}: Tensors.count_of(shape)
550    case None{}: None{}

Uses (4)

Used by (1)