[][src]Struct tensorflow_proto::tensorflow::tpu::CompilationResultProto

pub struct CompilationResultProto {
    pub status_code: i32,
    pub status_error_message: String,
    pub hlo_protos: Vec<HloProto>,
}

Describes the result of a TPU compilation.

Fields

status_code: i32

The error message, if any, returned during compilation.

status_error_message: Stringhlo_protos: Vec<HloProto>

HLO proto.

Implementations

impl CompilationResultProto[src]

pub fn status_code(&self) -> Code[src]

Returns the enum value of status_code, or the default if the field is set to an invalid enum value.

pub fn set_status_code(&mut self, value: Code)[src]

Sets status_code to the provided enum value.

Trait Implementations

impl Clone for CompilationResultProto[src]

impl Debug for CompilationResultProto[src]

impl Default for CompilationResultProto[src]

impl Message for CompilationResultProto[src]

impl PartialEq<CompilationResultProto> for CompilationResultProto[src]

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