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