Struct tensorflow::ops::SparseApplyAdagrad
source · pub struct SparseApplyAdagrad { /* private fields */ }Expand description
Builder for the SparseApplyAdagrad operation.
Implementations§
source§impl SparseApplyAdagrad
impl SparseApplyAdagrad
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 use_locking<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn use_locking<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the use_locking attribute.
sourcepub fn update_slots<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn update_slots<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the update_slots 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>, O4: Into<Output>>(
&self,
var: O0,
accum: O1,
lr: O2,
grad: O3,
indices: O4,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>>( &self, var: O0, accum: O1, lr: O2, grad: O3, indices: O4, scope: &mut Scope ) -> Result<Operation>
Builds the SparseApplyAdagrad operation.
sourcepub fn build_instance(
&self,
var: Output,
accum: Output,
lr: Output,
grad: Output,
indices: Output,
scope: &mut Scope
) -> Result<SparseApplyAdagradInst>
pub fn build_instance( &self, var: Output, accum: Output, lr: Output, grad: Output, indices: Output, scope: &mut Scope ) -> Result<SparseApplyAdagradInst>
Builds a new instance of ‘SparseApplyAdagrad’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for SparseApplyAdagrad
impl Debug for SparseApplyAdagrad
source§impl Default for SparseApplyAdagrad
impl Default for SparseApplyAdagrad
source§fn default() -> SparseApplyAdagrad
fn default() -> SparseApplyAdagrad
Returns the “default value” for a type. Read more