pub fn layer_index(name: &str) -> Option<usize>
Extract the numeric layer index from a real tensor name (None for the canonicalised layers.N. form, which carries no index).
None
layers.N.