Struct tfdeploy::dim::TDim[][src]

pub struct TDim(_);

Methods

impl TDim
[src]

Trait Implementations

impl FromIterator<TDim> for ShapeFact
[src]

Converts an iterator over usize into a closed shape.

impl IntoExp<DimFact> for TDim
[src]

Converts the value to an Expression.

impl Output for TDim
[src]

Wraps the fact in the Wrapped type.

Retrieves the fact from the Wrapped type. Panics if wrapped doesn't have the right constructor. Read more

Wraps self in the Wrapped type.

impl IntoExpression<ConstantExpression<DimFact>> for TDim
[src]

Converts TDim to ConstantExpression.

Converts the value to an Expression.

impl Copy for TDim
[src]

impl Clone for TDim
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for TDim
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for TDim
[src]

impl Default for TDim
[src]

Returns the "default value" for a type. Read more

impl Debug for TDim
[src]

Formats the value using the given formatter. Read more

impl Zero for TDim
[src]

Returns the additive identity element of Self, 0. Read more

Returns true if self is equal to the additive identity.

impl One for TDim
[src]

Returns the multiplicative identity element of Self, 1. Read more

Returns true if self is equal to the multiplicative identity. Read more

impl Neg for TDim
[src]

The resulting type after applying the - operator.

Performs the unary - operation.

impl Add<TDim> for TDim
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl AddAssign<TDim> for TDim
[src]

Performs the += operation.

impl Sub<TDim> for TDim
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl SubAssign<TDim> for TDim
[src]

Performs the -= operation.

impl Mul<TDim> for TDim
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl MulAssign<TDim> for TDim
[src]

Performs the *= operation.

impl Div<TDim> for TDim
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl DivAssign<TDim> for TDim
[src]

Performs the /= operation.

impl Rem<TDim> for TDim
[src]

The resulting type after applying the % operator.

Performs the % operation.

impl RemAssign<TDim> for TDim
[src]

Performs the %= operation.

impl<I: AsPrimitive<isize>> Add<I> for TDim
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl<I: AsPrimitive<isize>> Sub<I> for TDim
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl<I: AsPrimitive<isize>> Mul<I> for TDim
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl<I: AsPrimitive<isize>> Div<I> for TDim
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl<I: AsPrimitive<isize>> Rem<I> for TDim
[src]

The resulting type after applying the % operator.

Performs the % operation.

impl<I: AsPrimitive<isize>> From<I> for TDim
[src]

Performs the conversion.

impl From<TDim> for Tensor
[src]

Performs the conversion.

impl Datum for TDim
[src]

Auto Trait Implementations

impl Send for TDim

impl Sync for TDim