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