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