Struct wyrm::HogwildParameter [−][src]
pub struct HogwildParameter { /* fields omitted */ }
Struct used to hold parameters that need to be shared among
multiple ParameterNode
s for asynchronous, parallel optimization.
Methods
impl HogwildParameter
[src]
impl HogwildParameter
pub fn new(value: Arr) -> Self
[src]
pub fn new(value: Arr) -> Self
Create a new parameter object.
pub fn value(&self) -> &Arr
[src]
pub fn value(&self) -> &Arr
Get the parameter value.
Trait Implementations
impl Sync for HogwildParameter
[src]
impl Sync for HogwildParameter
impl Debug for HogwildParameter
[src]
impl Debug for HogwildParameter
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for HogwildParameter
[src]
impl Clone for HogwildParameter
fn clone(&self) -> HogwildParameter
[src]
fn clone(&self) -> HogwildParameter
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for HogwildParameter
impl Send for HogwildParameter