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