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