[][src]Struct tensorflow::Shape

pub struct Shape(_);

A Shape is the shape of a tensor. A Shape may be an unknown rank, or it may have a known rank with each dimension being known or unknown.

Methods

impl Shape
[src]

Returns the number of dimensions if known, or None if unknown.

Trait Implementations

impl Into<Option<Vec<Option<i64>>>> for Shape
[src]

impl PartialOrd<Shape> for Shape
[src]

impl Ord for Shape
[src]

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialEq<Shape> for Shape
[src]

impl From<Option<Vec<Option<i64>>>> for Shape
[src]

impl Clone for Shape
[src]

Performs copy-assignment from source. Read more

impl Eq for Shape
[src]

impl Display for Shape
[src]

impl Debug for Shape
[src]

impl Hash for Shape
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Index<usize> for Shape
[src]

The returned type after indexing.

Auto Trait Implementations

impl Send for Shape

impl Sync for Shape

Blanket Implementations

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> From for T
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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