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