Struct tfrecord::protobuf::node_def::ExperimentalDebugInfo
source · pub struct ExperimentalDebugInfo {
pub original_node_names: Vec<String>,
pub original_func_names: Vec<String>,
}
Fields§
§original_node_names: Vec<String>
Opaque string inserted into error messages created by the runtime.
This is intended to store the list of names of the nodes from the original graph that this node was derived. For example if this node, say C, was result of a fusion of 2 nodes A and B, then ‘original_node’ would be {A, B}. This information can be used to map errors originating at the current node to some top level source code.
original_func_names: Vec<String>
This is intended to store the list of names of the functions from the
original graph that this node was derived. For example if this node, say
C, was result of a fusion of node A in function FA and node B in function
FB, then original_funcs
would be {FA, FB}. If the node is in the top
level graph, the original_func
is empty. This information, with the
original_node_names
can be used to map errors originating at the
current ndoe to some top level source code.
Trait Implementations§
source§impl Clone for ExperimentalDebugInfo
impl Clone for ExperimentalDebugInfo
source§fn clone(&self) -> ExperimentalDebugInfo
fn clone(&self) -> ExperimentalDebugInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExperimentalDebugInfo
impl Debug for ExperimentalDebugInfo
source§impl Default for ExperimentalDebugInfo
impl Default for ExperimentalDebugInfo
source§impl<'de> Deserialize<'de> for ExperimentalDebugInfo
impl<'de> Deserialize<'de> for ExperimentalDebugInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
source§impl Message for ExperimentalDebugInfo
impl Message for ExperimentalDebugInfo
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where B: BufMut, Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8, Global>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8, Global>where Self: Sized,
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where B: BufMut, Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>where Self: Sized,
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where B: Buf, Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where B: Buf, Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where B: Buf, Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where B: Buf, Self: Sized,
self
.source§impl PartialEq<ExperimentalDebugInfo> for ExperimentalDebugInfo
impl PartialEq<ExperimentalDebugInfo> for ExperimentalDebugInfo
source§fn eq(&self, other: &ExperimentalDebugInfo) -> bool
fn eq(&self, other: &ExperimentalDebugInfo) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExperimentalDebugInfo
impl Serialize for ExperimentalDebugInfo
impl StructuralPartialEq for ExperimentalDebugInfo
Auto Trait Implementations§
impl RefUnwindSafe for ExperimentalDebugInfo
impl Send for ExperimentalDebugInfo
impl Sync for ExperimentalDebugInfo
impl Unpin for ExperimentalDebugInfo
impl UnwindSafe for ExperimentalDebugInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian()
.