pub struct LabelEncoder {
pub default_float: Option<f32>,
pub default_int64: Option<i64>,
pub default_string: Option<String>,
pub default_tensor: Option<Tensor>,
pub keys_floats: Option<Vec<f32>>,
pub keys_int64s: Option<Vec<i64>>,
pub keys_strings: Option<Vec<String>>,
pub keys_tensor: Option<Tensor>,
pub values_floats: Option<Vec<f32>>,
pub values_int64s: Option<Vec<i64>>,
pub values_strings: Option<Vec<String>>,
pub values_tensor: Option<Tensor>,
}Fields§
§default_float: Option<f32>§default_int64: Option<i64>§default_string: Option<String>§default_tensor: Option<Tensor>§keys_floats: Option<Vec<f32>>§keys_int64s: Option<Vec<i64>>§keys_strings: Option<Vec<String>>§keys_tensor: Option<Tensor>§values_floats: Option<Vec<f32>>§values_int64s: Option<Vec<i64>>§values_strings: Option<Vec<String>>§values_tensor: Option<Tensor>Trait Implementations§
Source§impl Clone for LabelEncoder
impl Clone for LabelEncoder
Source§fn clone(&self) -> LabelEncoder
fn clone(&self) -> LabelEncoder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LabelEncoder
impl Debug for LabelEncoder
Source§impl Default for LabelEncoder
impl Default for LabelEncoder
Source§fn default() -> LabelEncoder
fn default() -> LabelEncoder
Returns the “default value” for a type. Read more
Source§impl OnnxOp for LabelEncoder
impl OnnxOp for LabelEncoder
Source§impl PartialEq for LabelEncoder
impl PartialEq for LabelEncoder
impl StructuralPartialEq for LabelEncoder
Auto Trait Implementations§
impl Freeze for LabelEncoder
impl RefUnwindSafe for LabelEncoder
impl Send for LabelEncoder
impl Sync for LabelEncoder
impl Unpin for LabelEncoder
impl UnsafeUnpin for LabelEncoder
impl UnwindSafe for LabelEncoder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more