Struct tensorflow::eager::raw_ops::DecodePaddedRaw
source · pub struct DecodePaddedRaw { /* private fields */ }
Expand description
DecodePaddedRaw
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/DecodePaddedRaw
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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
input_bytes: &T0,
fixed_length: &T1
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, input_bytes: &T0, fixed_length: &T1 ) -> Result<TensorHandle<'a>>
Execute decode_padded_raw.
Trait Implementations§
source§impl Clone for DecodePaddedRaw
impl Clone for DecodePaddedRaw
source§fn clone(&self) -> DecodePaddedRaw
fn clone(&self) -> DecodePaddedRaw
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DecodePaddedRaw
impl Debug for DecodePaddedRaw
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