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