usetch::Tensor;/// Trait to get the attention of a layer.
pubtraitLayerAttention{/// Get the attention of a layer.
fnlayer_attention(&self)->Option<&Tensor>;}/// Trait to get the output of a layer.
pubtraitLayerOutput{/// Get the output of a layer.
fnlayer_output(&self)->&Tensor;}