Struct tensorflow::ops::DestroyResourceOp
source · [−]pub struct DestroyResourceOp { /* private fields */ }
Expand description
Builder for the DestroyResourceOp
operation.
Implementations
sourceimpl DestroyResourceOp
impl DestroyResourceOp
sourcepub fn ignore_lookup_error<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn ignore_lookup_error<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the ignore_lookup_error
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>>(
&self,
resource: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>(
&self,
resource: O0,
scope: &mut Scope
) -> Result<Operation>
Builds the DestroyResourceOp
operation.
sourcepub fn build_instance(
&self,
resource: Output,
scope: &mut Scope
) -> Result<DestroyResourceOpInst>
pub fn build_instance(
&self,
resource: Output,
scope: &mut Scope
) -> Result<DestroyResourceOpInst>
Builds a new instance of ‘DestroyResourceOp’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
sourceimpl Debug for DestroyResourceOp
impl Debug for DestroyResourceOp
sourceimpl Default for DestroyResourceOp
impl Default for DestroyResourceOp
sourcefn default() -> DestroyResourceOp
fn default() -> DestroyResourceOp
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for DestroyResourceOp
impl Send for DestroyResourceOp
impl Sync for DestroyResourceOp
impl Unpin for DestroyResourceOp
impl UnwindSafe for DestroyResourceOp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more