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