Struct tensorflow::eager::raw_ops::Abort
source · pub struct Abort { /* private fields */ }
Expand description
Implementations§
source§impl Abort
impl Abort
sourcepub fn error_msg<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn error_msg<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the error_msg
attribute.
sourcepub fn exit_without_error<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn exit_without_error<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the exit_without_error
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.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Abort
impl Send for Abort
impl Sync for Abort
impl Unpin for Abort
impl UnwindSafe for Abort
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