[][src]Struct tensorflow_proto::xla::CompileRequest

pub struct CompileRequest {
    pub computation: Option<HloModuleProto>,
    pub execution_options: Option<ExecutionOptions>,
    pub input_shape_with_layout: Vec<ShapeProto>,
}

Fields

computation: Option<HloModuleProto>

The graph to be compiled.

execution_options: Option<ExecutionOptions>

Options that affect how XLA compiles code to service this request.

input_shape_with_layout: Vec<ShapeProto>

The layouts of the input arguments. If not set, the default layout will be used. Although the real arguments are not needed in compilation, the layouts of the arguments can affect the compilation.

Trait Implementations

impl Clone for CompileRequest[src]

impl Debug for CompileRequest[src]

impl Default for CompileRequest[src]

impl Message for CompileRequest[src]

impl PartialEq<CompileRequest> for CompileRequest[src]

impl StructuralPartialEq for CompileRequest[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.