ella_common/row/
named.rs

1
2
3
4
5
6
7
8
9
use crate::{shape::Dyn, TensorType};

use super::RowFormat;

pub trait NamedRowFormat: RowFormat {
    fn name(&self, i: usize) -> String;
    fn data_type(&self, i: usize) -> TensorType;
    fn row_shape(&self, i: usize) -> Dyn;
}