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