Struct tensorflow::eager::raw_ops::DecodeRaw
source · pub struct DecodeRaw { /* private fields */ }
Expand description
DecodeRaw
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/DecodeRaw
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 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>>(
&self,
ctx: &'a Context,
bytes: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, bytes: &T0 ) -> Result<TensorHandle<'a>>
Execute decode_raw.
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