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