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