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