Struct menoh::VariableProfileTableBuilder [−][src]
pub struct VariableProfileTableBuilder { /* fields omitted */ }Builder of Variable Profile Table.
Methods
impl VariableProfileTableBuilder[src]
impl VariableProfileTableBuilderpub fn new() -> Result<Self, Error>[src]
pub fn new() -> Result<Self, Error>pub fn add_input_profile(
&mut self,
name: &str,
dtype: Dtype,
dims: &[i32]
) -> Result<(), Error>[src]
pub fn add_input_profile(
&mut self,
name: &str,
dtype: Dtype,
dims: &[i32]
) -> Result<(), Error>Add input profile. dims length must be 2 or 4.
pub fn add_output_profile(
&mut self,
name: &str,
dtype: Dtype
) -> Result<(), Error>[src]
pub fn add_output_profile(
&mut self,
name: &str,
dtype: Dtype
) -> Result<(), Error>Add output profile.
pub fn build_variable_profile_table(
&self,
model_data: &ModelData
) -> Result<VariableProfileTable, Error>[src]
pub fn build_variable_profile_table(
&self,
model_data: &ModelData
) -> Result<VariableProfileTable, Error>Build variable profile table.
Trait Implementations
impl Drop for VariableProfileTableBuilder[src]
impl Drop for VariableProfileTableBuilderAuto Trait Implementations
impl !Send for VariableProfileTableBuilder
impl !Send for VariableProfileTableBuilderimpl !Sync for VariableProfileTableBuilder
impl !Sync for VariableProfileTableBuilder