#[repr(i32)]pub enum FileFormat {
Unknown = 0,
TensorflowGraphdef = 1,
Tflite = 2,
GraphvizDot = 3,
}
Expand description
Supported I/O file formats. Some formats may be input-only or output-only.
Variants§
Unknown = 0
TensorflowGraphdef = 1
GraphDef, third_party/tensorflow/core/framework/graph.proto
Tflite = 2
Tensorflow’s mobile inference model. third_party/tensorflow/contrib/tflite/schema.fbs
GraphvizDot = 3
GraphViz Export-only.
Implementations§
Trait Implementations§
Source§impl Clone for FileFormat
impl Clone for FileFormat
Source§fn clone(&self) -> FileFormat
fn clone(&self) -> FileFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FileFormat
impl Debug for FileFormat
Source§impl Default for FileFormat
impl Default for FileFormat
Source§fn default() -> FileFormat
fn default() -> FileFormat
Returns the “default value” for a type. Read more
Source§impl From<FileFormat> for i32
impl From<FileFormat> for i32
Source§fn from(value: FileFormat) -> i32
fn from(value: FileFormat) -> i32
Converts to this type from the input type.
Source§impl Hash for FileFormat
impl Hash for FileFormat
Source§impl Ord for FileFormat
impl Ord for FileFormat
Source§fn cmp(&self, other: &FileFormat) -> Ordering
fn cmp(&self, other: &FileFormat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FileFormat
impl PartialEq for FileFormat
Source§impl PartialOrd for FileFormat
impl PartialOrd for FileFormat
impl Copy for FileFormat
impl Eq for FileFormat
impl StructuralPartialEq for FileFormat
Auto Trait Implementations§
impl Freeze for FileFormat
impl RefUnwindSafe for FileFormat
impl Send for FileFormat
impl Sync for FileFormat
impl Unpin for FileFormat
impl UnwindSafe for FileFormat
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
Mutably borrows from an owned value. Read more