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