tensor_loss.bend fails
raw source on the hub · import stelliferous@0.0.3.0/tensor_loss.bend as Tensor_loss
Losses with their gradient, in a fixed FP32 order. The prediction becomes the gradient, and the target returns.
8 imports
import Base import ./tensor.bend as Tensors import ./tensor_shape.bend as Shapes import ./tensor_layout.bend as Layout import ./tensor_operations.bend as Operations import ./math_sum.bend as Sum import ./tensor_f32.bend as F import ./math_fp32.bend as Arithmetic
The reader could not load this file (at 0xd6aaab858a4fbd1461bd0fee27b97184/checkpoint_pickle.bend:14). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Text)
- observed : 'Text'
Location:
13 | Float{high: U32,low: U32}
14>| Text{text: String}
| ^^^^
15 | Sequence{items: List<&2,Value>}