Struct tensorflow::ops::MatrixDiagPartV2
source · [−]pub struct MatrixDiagPartV2 { /* private fields */ }
Expand description
Builder for the MatrixDiagPartV2
operation.
Implementations
sourceimpl MatrixDiagPartV2
impl MatrixDiagPartV2
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,
input: O0,
k: O1,
padding_value: O2,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>(
&self,
input: O0,
k: O1,
padding_value: O2,
scope: &mut Scope
) -> Result<Operation>
Builds the MatrixDiagPartV2
operation.
sourcepub fn build_instance(
&self,
input: Output,
k: Output,
padding_value: Output,
scope: &mut Scope
) -> Result<MatrixDiagPartV2Inst>
pub fn build_instance(
&self,
input: Output,
k: Output,
padding_value: Output,
scope: &mut Scope
) -> Result<MatrixDiagPartV2Inst>
Builds a new instance of ‘MatrixDiagPartV2’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
sourceimpl Debug for MatrixDiagPartV2
impl Debug for MatrixDiagPartV2
sourceimpl Default for MatrixDiagPartV2
impl Default for MatrixDiagPartV2
sourcefn default() -> MatrixDiagPartV2
fn default() -> MatrixDiagPartV2
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for MatrixDiagPartV2
impl Send for MatrixDiagPartV2
impl Sync for MatrixDiagPartV2
impl Unpin for MatrixDiagPartV2
impl UnwindSafe for MatrixDiagPartV2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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