Struct tensorflow::ops::ExtractJpegShape
source · [−]pub struct ExtractJpegShape { /* private fields */ }
Expand description
Builder for the ExtractJpegShape
operation.
Implementations
sourceimpl 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
sourceimpl Debug for ExtractJpegShape
impl Debug for ExtractJpegShape
sourceimpl Default for ExtractJpegShape
impl Default for ExtractJpegShape
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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