Struct tensorflow::ops::Bincount
source · pub struct Bincount { /* private fields */ }
Expand description
Builder for the Bincount
operation.
Implementations§
source§impl Bincount
impl Bincount
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>, O1: Into<Output>, O2: Into<Output>>(
&self,
arr: O0,
size: O1,
weights: O2,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>( &self, arr: O0, size: O1, weights: O2, scope: &mut Scope ) -> Result<Operation>
Builds the Bincount
operation.
sourcepub fn build_instance(
&self,
arr: Output,
size: Output,
weights: Output,
scope: &mut Scope
) -> Result<BincountInst>
pub fn build_instance( &self, arr: Output, size: Output, weights: Output, scope: &mut Scope ) -> Result<BincountInst>
Builds a new instance of ‘Bincount’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Bincount
impl Send for Bincount
impl Sync for Bincount
impl Unpin for Bincount
impl UnwindSafe for Bincount
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