[][src]Struct tfmicro::MutableOpResolver

pub struct MutableOpResolver { /* fields omitted */ }

An Op Resolver that has no operators by default, but can be added by calling methods in a builder pattern

Implementations

impl MutableOpResolver[src]

pub fn fully_connected(self) -> Self[src]

Use the FULLY_CONNECTED operator in this op resolver

pub fn max_pool_2d(self) -> Self[src]

Use the MAX_POOL_2D operator in this op resolver

pub fn softmax(self) -> Self[src]

Use the SOFTMAX operator in this op resolver

pub fn logistic(self) -> Self[src]

Use the LOGISTIC operator in this op resolver

pub fn svdf(self) -> Self[src]

Use the SVDF operator in this op resolver

pub fn conv_2d(self) -> Self[src]

Use the CONV_2D operator in this op resolver

pub fn concatenation(self) -> Self[src]

Use the CONCATENATION operator in this op resolver

pub fn depthwise_conv_2d(self) -> Self[src]

Use the DEPTHWISE_CONV_2D operator in this op resolver

pub fn average_pool_2d(self) -> Self[src]

Use the AVERAGE_POOL_2D operator in this op resolver

pub fn abs(self) -> Self[src]

Use the ABS operator in this op resolver

pub fn sin(self) -> Self[src]

Use the SIN operator in this op resolver

pub fn cos(self) -> Self[src]

Use the COS operator in this op resolver

pub fn log(self) -> Self[src]

Use the LOG operator in this op resolver

pub fn sqrt(self) -> Self[src]

Use the SQRT operator in this op resolver

pub fn rsqrt(self) -> Self[src]

Use the RSQRT operator in this op resolver

pub fn square(self) -> Self[src]

Use the SQUARE operator in this op resolver

pub fn prelu(self) -> Self[src]

Use the PRELU operator in this op resolver

pub fn floor(self) -> Self[src]

Use the FLOOR operator in this op resolver

pub fn maximum(self) -> Self[src]

Use the MAXIMUM operator in this op resolver

pub fn minimum(self) -> Self[src]

Use the MINIMUM operator in this op resolver

pub fn arg_max(self) -> Self[src]

Use the ARG_MAX operator in this op resolver

pub fn arg_min(self) -> Self[src]

Use the ARG_MIN operator in this op resolver

pub fn logical_or(self) -> Self[src]

Use the LOGICAL_OR operator in this op resolver

pub fn logical_and(self) -> Self[src]

Use the LOGICAL_AND operator in this op resolver

pub fn logical_not(self) -> Self[src]

Use the LOGICAL_NOT operator in this op resolver

pub fn reshape(self) -> Self[src]

Use the RESHAPE operator in this op resolver

pub fn equal(self) -> Self[src]

Use the EQUAL operator in this op resolver

pub fn not_equal(self) -> Self[src]

Use the NOT_EQUAL operator in this op resolver

pub fn greater(self) -> Self[src]

Use the GREATER operator in this op resolver

pub fn greater_equal(self) -> Self[src]

Use the GREATER_EQUAL operator in this op resolver

pub fn less(self) -> Self[src]

Use the LESS operator in this op resolver

pub fn less_equal(self) -> Self[src]

Use the LESS_EQUAL operator in this op resolver

pub fn ceil(self) -> Self[src]

Use the CEIL operator in this op resolver

pub fn round(self) -> Self[src]

Use the ROUND operator in this op resolver

pub fn strided_slice(self) -> Self[src]

Use the STRIDED_SLICE operator in this op resolver

pub fn pack(self) -> Self[src]

Use the PACK operator in this op resolver

pub fn pad(self) -> Self[src]

Use the PAD operator in this op resolver

pub fn padv2(self) -> Self[src]

Use the PADV2 operator in this op resolver

pub fn split(self) -> Self[src]

Use the SPLIT operator in this op resolver

pub fn unpack(self) -> Self[src]

Use the UNPACK operator in this op resolver

pub fn neg(self) -> Self[src]

Use the NEG operator in this op resolver

pub fn add(self) -> Self[src]

Use the ADD operator in this op resolver

pub fn mul(self) -> Self[src]

Use the MUL operator in this op resolver

pub fn sub(self) -> Self[src]

Use the SUB operator in this op resolver

pub fn quantize(self) -> Self[src]

Use the QUANTIZE operator in this op resolver

pub fn dequantize(self) -> Self[src]

Use the DEQUANTIZE operator in this op resolver

pub fn relu(self) -> Self[src]

Use the RELU operator in this op resolver

pub fn relu6(self) -> Self[src]

Use the RELU6 operator in this op resolver

pub fn mean(self) -> Self[src]

Use the MEAN operator in this op resolver

pub fn resize_nearest_neighbor(self) -> Self[src]

Use the RESIZE_NEAREST_NEIGHBOR operator in this op resolver

pub fn l2_normalization(self) -> Self[src]

Use the L2_NORMALIZATION operator in this op resolver

pub fn tanh(self) -> Self[src]

Use the TANH operator in this op resolver

impl MutableOpResolver[src]

pub fn len(&self) -> usize[src]

Returns the current number of operators in this resolver

pub fn is_empty(&self) -> bool[src]

Return whether there are zero operators

pub fn empty() -> Self[src]

Create a new MutableOpResolver, initially empty

Trait Implementations

impl Debug for MutableOpResolver[src]

impl Default for MutableOpResolver[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.