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