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