INNER CODE UNIT · Rust

msg

tensorflow/rust · src/lib.rs:70

    let msg = format!($fmt, $($arg)*);
    crate::Status::new_set(crate::Code::InvalidArgument, &msg).unwrap()
  });
}

////////////////////////

macro_rules! impl_new {
    ($name: ident, $call:ident, $doc:expr) => {
        impl Default for $name {
            fn default() -> Self {
                Self::new()
            }
        }

        impl $name {
            #[doc = $doc]
            pub fn new() -> Self {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…