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