mlir::dialects::linalg

Trait ElementwiseUnaryOperation

Source
pub trait ElementwiseUnaryOperation:
    ElementwiseUnaryOperationGetBody
    + ElementwiseCheckUnaryOperands
    + ElementwiseCheckResult
    + ElementwiseOperation {
    // Provided methods
    fn __new_body(t: &Type, op_parent: &mut Operation, loc: &Location) -> Self { ... }
    fn __new_memref(
        op: &'static Op,
        context: &Context,
        input: &Value,
        output: &Value,
        loc: &Location,
    ) -> Self { ... }
    fn __new_tensor(
        op: &'static Op,
        t: &RankedTensor,
        input: &Value,
        output: &Value,
        loc: &Location,
    ) -> Self { ... }
}

Provided Methods§

Source

fn __new_body(t: &Type, op_parent: &mut Operation, loc: &Location) -> Self

Source

fn __new_memref( op: &'static Op, context: &Context, input: &Value, output: &Value, loc: &Location, ) -> Self

Source

fn __new_tensor( op: &'static Op, t: &RankedTensor, input: &Value, output: &Value, loc: &Location, ) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§