def to_list_or

stelliferous@0.0.2.0 · tensor_f32.bend:127

import stelliferous@0.0.2.0/tensor_f32.bend as TensorF32
import Base
import stelliferous@0.0.2.0/tensor.bend as Tensors

127# Reads with a fallback for a failed tensor, for callers that do not inspect
128# the problem.
129def to_list_or(tensor: Tensor(),fallback: List<&2,F32>) -> List<&2,F32>:
130  Tensors.value_or(~List<&2,F32>,Tensors.to_list(~F32,tensor),fallback)

Uses (5)

Used by (0)

No other definition uses this definition.