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