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