Skip to content
fn

real_index_reader

IndexReader real_index_reader(const char * op, const CpuStorage & s)

A reader for s that also truncates floating-point indices toward zero (used by one_hot and class-index loss targets).