Struct tensorflow::eager::raw_ops::Assert
source · pub struct Assert { /* private fields */ }
Expand description
Implementations§
source§impl Assert
impl Assert
sourcepub fn summarize<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn summarize<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the summarize
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,
condition: &T0,
data: &T1
) -> Result<()>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, condition: &T0, data: &T1 ) -> Result<()>
Execute assert.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Assert
impl Send for Assert
impl Sync for Assert
impl Unpin for Assert
impl UnwindSafe for Assert
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