Struct tensorflow::ops::ReverseSequence
source · [−]pub struct ReverseSequence { /* private fields */ }Expand description
Builder for the ReverseSequence operation.
Implementations
sourceimpl ReverseSequence
impl ReverseSequence
sourcepub fn batch_dim<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn batch_dim<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the batch_dim 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,
input: O0,
seq_lengths: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>(
&self,
input: O0,
seq_lengths: O1,
scope: &mut Scope
) -> Result<Operation>
Builds the ReverseSequence operation.
sourcepub fn build_instance(
&self,
input: Output,
seq_lengths: Output,
scope: &mut Scope
) -> Result<ReverseSequenceInst>
pub fn build_instance(
&self,
input: Output,
seq_lengths: Output,
scope: &mut Scope
) -> Result<ReverseSequenceInst>
Builds a new instance of ‘ReverseSequence’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
sourceimpl Debug for ReverseSequence
impl Debug for ReverseSequence
sourceimpl Default for ReverseSequence
impl Default for ReverseSequence
sourcefn default() -> ReverseSequence
fn default() -> ReverseSequence
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ReverseSequence
impl Send for ReverseSequence
impl Sync for ReverseSequence
impl Unpin for ReverseSequence
impl UnwindSafe for ReverseSequence
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more