Struct tensorflow::ops::SerializeTensor
source · pub struct SerializeTensor { /* private fields */ }
Expand description
Builder for the SerializeTensor
operation.
Implementations§
source§impl SerializeTensor
impl SerializeTensor
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>>(
&self,
tensor: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, tensor: O0, scope: &mut Scope ) -> Result<Operation>
Builds the SerializeTensor
operation.
sourcepub fn build_instance(
&self,
tensor: Output,
scope: &mut Scope
) -> Result<SerializeTensorInst>
pub fn build_instance( &self, tensor: Output, scope: &mut Scope ) -> Result<SerializeTensorInst>
Builds a new instance of ‘SerializeTensor’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for SerializeTensor
impl Debug for SerializeTensor
source§impl Default for SerializeTensor
impl Default for SerializeTensor
source§fn default() -> SerializeTensor
fn default() -> SerializeTensor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SerializeTensor
impl Send for SerializeTensor
impl Sync for SerializeTensor
impl Unpin for SerializeTensor
impl UnwindSafe for SerializeTensor
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