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