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