Struct tensorflow::ops::GenerateBoundingBoxProposals
source · pub struct GenerateBoundingBoxProposals { /* private fields */ }
Expand description
Builder for the GenerateBoundingBoxProposals
operation.
Implementations§
source§impl GenerateBoundingBoxProposals
impl GenerateBoundingBoxProposals
sourcepub fn post_nms_topn<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn post_nms_topn<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the post_nms_topn
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,
scores: O0,
bbox_deltas: O1,
image_info: O2,
anchors: O3,
nms_threshold: O4,
pre_nms_topn: O5,
min_size: 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, scores: O0, bbox_deltas: O1, image_info: O2, anchors: O3, nms_threshold: O4, pre_nms_topn: O5, min_size: O6, scope: &mut Scope ) -> Result<Operation>
Builds the GenerateBoundingBoxProposals
operation.
sourcepub fn build_instance(
&self,
scores: Output,
bbox_deltas: Output,
image_info: Output,
anchors: Output,
nms_threshold: Output,
pre_nms_topn: Output,
min_size: Output,
scope: &mut Scope
) -> Result<GenerateBoundingBoxProposalsInst>
pub fn build_instance( &self, scores: Output, bbox_deltas: Output, image_info: Output, anchors: Output, nms_threshold: Output, pre_nms_topn: Output, min_size: Output, scope: &mut Scope ) -> Result<GenerateBoundingBoxProposalsInst>
Builds a new instance of ‘GenerateBoundingBoxProposals’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for GenerateBoundingBoxProposals
impl Debug for GenerateBoundingBoxProposals
source§impl Default for GenerateBoundingBoxProposals
impl Default for GenerateBoundingBoxProposals
source§fn default() -> GenerateBoundingBoxProposals
fn default() -> GenerateBoundingBoxProposals
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for GenerateBoundingBoxProposals
impl Send for GenerateBoundingBoxProposals
impl Sync for GenerateBoundingBoxProposals
impl Unpin for GenerateBoundingBoxProposals
impl UnwindSafe for GenerateBoundingBoxProposals
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