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