Struct tensorflow::ops::DecodeRaw
source · pub struct DecodeRaw { /* private fields */ }
Expand description
Builder for the DecodeRaw
operation.
Implementations§
source§impl DecodeRaw
impl DecodeRaw
sourcepub fn out_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn out_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the out_type
attribute.
sourcepub fn little_endian<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn little_endian<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the little_endian
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,
bytes: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, bytes: O0, scope: &mut Scope ) -> Result<Operation>
Builds the DecodeRaw
operation.
sourcepub fn build_instance(
&self,
bytes: Output,
scope: &mut Scope
) -> Result<DecodeRawInst>
pub fn build_instance( &self, bytes: Output, scope: &mut Scope ) -> Result<DecodeRawInst>
Builds a new instance of ‘DecodeRaw’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DecodeRaw
impl Send for DecodeRaw
impl Sync for DecodeRaw
impl Unpin for DecodeRaw
impl UnwindSafe for DecodeRaw
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