pub struct AcceleratorSettings {
pub input_buffer_size: usize,
pub agg_buffer_size: usize,
pub gcn_hidden_size: Vec<usize>,
pub aggregator_settings: AggregatorSettings,
pub mlp_settings: MlpSettings,
pub sparsifier_settings: SparsifierSettings,
pub running_mode: RunningMode,
pub mem_config_name: String,
}Expand description
§Description
- struct for recording the settings of gcn accelerator.
Fields§
§input_buffer_size: usize§agg_buffer_size: usize§aggregator_settings: AggregatorSettings§mlp_settings: MlpSettings§sparsifier_settings: SparsifierSettings§running_mode: RunningMode§mem_config_name: StringTrait Implementations§
Source§impl Clone for AcceleratorSettings
impl Clone for AcceleratorSettings
Source§fn clone(&self) -> AcceleratorSettings
fn clone(&self) -> AcceleratorSettings
Returns a copy of the value. Read more
1.0.0 · 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 AcceleratorSettings
impl Debug for AcceleratorSettings
Source§impl<'de> Deserialize<'de> for AcceleratorSettings
impl<'de> Deserialize<'de> for AcceleratorSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AcceleratorSettings
impl RefUnwindSafe for AcceleratorSettings
impl Send for AcceleratorSettings
impl Sync for AcceleratorSettings
impl Unpin for AcceleratorSettings
impl UnwindSafe for AcceleratorSettings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more