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