Trait ella_tensor::MaskedValue
source · pub trait MaskedValue: TensorValue {
// Required methods
fn to_option(self) -> Option<Self::Unmasked>;
fn from_option(value: Option<Self::Unmasked>) -> Self;
}Expand description
Trait that allows casting between TensorValue::Masked and Option<TensorValue>