[][src]Struct tensorflow_proto::xrt::XlaTupleNode

pub struct XlaTupleNode {
    pub input_index: i32,
    pub release_input_handle: bool,
    pub tuples: Vec<XlaTupleNode>,
}

Node in a tree describing a tuple constructed from input handles. A node is an internal node if tuples is non-empty, in which case input_index and release_input_handle are ignored. Otherwise a node is a leaf node. Each leaf XLATupleNode is the index of an input which corresponds to a handle that will be grafted onto the output tuple at that location. If release_input_handle is true that input handle will be released and become invalid. Inputs may be repeated in which case leaves of the output tuple will alias. If an input is repeated, release_input_handle must be false for every leaf where that input appears.

For example, if input 0 has shape {} and input 1 has shape {2,3} then the XLATupleNode with structure {1,{0,1}} corresponds to a tuple with shape {{2,3},{{},{2,3}}}.

Fields

input_index: i32release_input_handle: booltuples: Vec<XlaTupleNode>

Trait Implementations

impl Clone for XlaTupleNode[src]

impl Debug for XlaTupleNode[src]

impl Default for XlaTupleNode[src]

impl Message for XlaTupleNode[src]

impl PartialEq<XlaTupleNode> for XlaTupleNode[src]

impl StructuralPartialEq for XlaTupleNode[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.