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