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