Struct tensorflow::eager::raw_ops::MlirPassthroughOp
source · pub struct MlirPassthroughOp { /* private fields */ }
Expand description
MlirPassthroughOp
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/MlirPassthroughOp
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 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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
inputs: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, inputs: &T0 ) -> Result<TensorHandle<'a>>
Execute mlir_passthrough_op.
Trait Implementations§
source§impl Clone for MlirPassthroughOp
impl Clone for MlirPassthroughOp
source§fn clone(&self) -> MlirPassthroughOp
fn clone(&self) -> MlirPassthroughOp
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MlirPassthroughOp
impl Debug for MlirPassthroughOp
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