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