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