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