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