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