Struct tensorflow::ops::Cumsum
source · [−]pub struct Cumsum { /* private fields */ }
Expand description
Builder for the Cumsum
operation.
Implementations
sourceimpl Cumsum
impl Cumsum
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 Cumsum
operation.
sourcepub fn build_instance(
&self,
x: Output,
axis: Output,
scope: &mut Scope
) -> Result<CumsumInst>
pub fn build_instance(
&self,
x: Output,
axis: Output,
scope: &mut Scope
) -> Result<CumsumInst>
Builds a new instance of ‘Cumsum’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Cumsum
impl Send for Cumsum
impl Sync for Cumsum
impl Unpin for Cumsum
impl UnwindSafe for Cumsum
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more