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