[][src]Struct tensorflow_proto::tensorflow::ProfileResponse

pub struct ProfileResponse {
    pub computation_graph: Vec<GraphDef>,
    pub hlo_metadata: Option<RunMetadata>,
    pub encoded_trace: Vec<u8>,
    pub op_profile: Option<Profile>,
    pub tool_data: Vec<ProfileToolData>,
    pub empty_trace: bool,
}

Fields

computation_graph: Vec<GraphDef>

Graphs of programs executed on devices during the profiling period.

hlo_metadata: Option<RunMetadata>

Performance profile that can be used to annotate HLO operations in the computation graph.

encoded_trace: Vec<u8>

Encoded Trace proto message that contains metadata about the trace captured during the profiling period. Describes the devices and resources that 'trace_events' refers to.

op_profile: Option<Profile>

Assembles a hierarchical performance profile based on HLOs in trace events. If the trace covers multiple programs, the longest-running one is analyzed. See op_profile.proto for the detailed semantics of the returned profile.

tool_data: Vec<ProfileToolData>

Data payload for each required tools.

empty_trace: bool

When we write profiling data directly to repository directory, we need a way to figure out whether the captured trace is empty (due to idle TPU).

Trait Implementations

impl Clone for ProfileResponse[src]

impl Debug for ProfileResponse[src]

impl Default for ProfileResponse[src]

impl Message for ProfileResponse[src]

impl PartialEq<ProfileResponse> for ProfileResponse[src]

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