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