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