pub struct Print { /* private fields */ }
Expand description
Implementations§
Source§impl Print
impl Print
Sourcepub fn message<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn message<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the message
attribute.
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,
input: &T0,
data: &T1,
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, input: &T0, data: &T1, ) -> Result<TensorHandle<'a>>
Execute print.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Print
impl RefUnwindSafe for Print
impl Send for Print
impl Sync for Print
impl Unpin for Print
impl UnwindSafe for Print
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