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