Struct tensorflow::ops::Unbatch
source · pub struct Unbatch { /* private fields */ }
Expand description
Builder for the Unbatch
operation.
Implementations§
source§impl Unbatch
impl Unbatch
sourcepub fn timeout_micros<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn timeout_micros<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the timeout_micros
attribute.
sourcepub fn container<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn container<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the container
attribute.
Sets the shared_name
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,
batched_tensor: O0,
batch_index: O1,
id: O2,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>( &self, batched_tensor: O0, batch_index: O1, id: O2, scope: &mut Scope ) -> Result<Operation>
Builds the Unbatch
operation.
sourcepub fn build_instance(
&self,
batched_tensor: Output,
batch_index: Output,
id: Output,
scope: &mut Scope
) -> Result<UnbatchInst>
pub fn build_instance( &self, batched_tensor: Output, batch_index: Output, id: Output, scope: &mut Scope ) -> Result<UnbatchInst>
Builds a new instance of ‘Unbatch’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Unbatch
impl Send for Unbatch
impl Sync for Unbatch
impl Unpin for Unbatch
impl UnwindSafe for Unbatch
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