Struct tensorflow::ops::LogUniformCandidateSampler
source · pub struct LogUniformCandidateSampler { /* private fields */ }
Expand description
Builder for the LogUniformCandidateSampler
operation.
Implementations§
source§impl LogUniformCandidateSampler
impl LogUniformCandidateSampler
sourcepub fn num_sampled<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn num_sampled<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the num_sampled
attribute.
sourcepub fn range_max<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn range_max<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the range_max
attribute.
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>>(
&self,
true_classes: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, true_classes: O0, scope: &mut Scope ) -> Result<Operation>
Builds the LogUniformCandidateSampler
operation.
sourcepub fn build_instance(
&self,
true_classes: Output,
scope: &mut Scope
) -> Result<LogUniformCandidateSamplerInst>
pub fn build_instance( &self, true_classes: Output, scope: &mut Scope ) -> Result<LogUniformCandidateSamplerInst>
Builds a new instance of ‘LogUniformCandidateSampler’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for LogUniformCandidateSampler
impl Debug for LogUniformCandidateSampler
source§impl Default for LogUniformCandidateSampler
impl Default for LogUniformCandidateSampler
source§fn default() -> LogUniformCandidateSampler
fn default() -> LogUniformCandidateSampler
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for LogUniformCandidateSampler
impl Send for LogUniformCandidateSampler
impl Sync for LogUniformCandidateSampler
impl Unpin for LogUniformCandidateSampler
impl UnwindSafe for LogUniformCandidateSampler
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