Struct tensorflow::eager::raw_ops::RemoteCall
source · pub struct RemoteCall { /* private fields */ }
Expand description
RemoteCall
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/RemoteCall
Implementations§
source§impl RemoteCall
impl RemoteCall
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>, T1: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
target: &T0,
args: &T1
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, target: &T0, args: &T1 ) -> Result<TensorHandle<'a>>
Execute remote_call.
Trait Implementations§
source§impl Clone for RemoteCall
impl Clone for RemoteCall
source§fn clone(&self) -> RemoteCall
fn clone(&self) -> RemoteCall
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 RemoteCall
impl Debug for RemoteCall
Auto Trait Implementations§
impl RefUnwindSafe for RemoteCall
impl Send for RemoteCall
impl Sync for RemoteCall
impl Unpin for RemoteCall
impl UnwindSafe for RemoteCall
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