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