Struct tensorflow::eager::raw_ops::PyFuncStateless
source · pub struct PyFuncStateless { /* private fields */ }
Expand description
PyFuncStateless
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/PyFuncStateless
Implementations§
source§impl PyFuncStateless
impl PyFuncStateless
sourcepub fn Tout<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn Tout<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the Tout
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,
input: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, input: &T0 ) -> Result<TensorHandle<'a>>
Execute py_func_stateless.
Trait Implementations§
source§impl Clone for PyFuncStateless
impl Clone for PyFuncStateless
source§fn clone(&self) -> PyFuncStateless
fn clone(&self) -> PyFuncStateless
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 PyFuncStateless
impl Debug for PyFuncStateless
Auto Trait Implementations§
impl RefUnwindSafe for PyFuncStateless
impl Send for PyFuncStateless
impl Sync for PyFuncStateless
impl Unpin for PyFuncStateless
impl UnwindSafe for PyFuncStateless
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