pub struct TracedTensorDef {
pub name: String,
pub cache_index: i32,
pub trace_point_name: String,
pub is_traced: bool,
pub explanation: String,
}
Fields§
§name: String
Name of the tensor as appears in tf graph.
cache_index: i32
Cache index of the tensor. This may be different than topological index.
trace_point_name: String
If trace points are provided, corresponding tracepoint name of the tensor. Trace points are placed on the edges (tensors) in the tensorflow graph, and they force tensor tracer to trace the corresponding tensor. Tracepoints can be added using the programatic interface tensor_tracer.tensor_tracepoint(tensor, trace_point_name) function. This will add a trace point with the given trace_point_name for the given tensor. If a trace_point is provided for the tensor, trace_point name will be used for the rest of the analysis instead of tensor names. One can use trace_point_name’s to compare two models with arbitrary tensor names by providing the same trace point name for the tensors that are comparable.
is_traced: bool
Whether the tensor is traced or not.
explanation: String
Detailed explanation why the tensor is traced or not.
Trait Implementations§
Source§impl Clone for TracedTensorDef
impl Clone for TracedTensorDef
Source§fn clone(&self) -> TracedTensorDef
fn clone(&self) -> TracedTensorDef
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for TracedTensorDef
impl Debug for TracedTensorDef
Source§impl Default for TracedTensorDef
impl Default for TracedTensorDef
Source§impl Message for TracedTensorDef
impl Message for TracedTensorDef
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.