Struct tensorflow::ops::SerializeSparse
source · [−]pub struct SerializeSparse { /* private fields */ }
Expand description
Builder for the SerializeSparse
operation.
Implementations
sourceimpl SerializeSparse
impl SerializeSparse
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 SerializeSparse
operation.
sourcepub fn build_instance(
&self,
sparse_indices: Output,
sparse_values: Output,
sparse_shape: Output,
scope: &mut Scope
) -> Result<SerializeSparseInst>
pub fn build_instance(
&self,
sparse_indices: Output,
sparse_values: Output,
sparse_shape: Output,
scope: &mut Scope
) -> Result<SerializeSparseInst>
Builds a new instance of ‘SerializeSparse’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
sourceimpl Debug for SerializeSparse
impl Debug for SerializeSparse
sourceimpl Default for SerializeSparse
impl Default for SerializeSparse
sourcefn default() -> SerializeSparse
fn default() -> SerializeSparse
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for SerializeSparse
impl Send for SerializeSparse
impl Sync for SerializeSparse
impl Unpin for SerializeSparse
impl UnwindSafe for SerializeSparse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more