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