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