pub enum ModelType {
Generic,
Onnx,
PyTorch,
TensorFlow,
Jax,
Keras,
MxNet,
OpenVino,
}Expand description
A C2PA model asset type (a value of the asset type assertion’s type field).
Variants§
Generic
c2pa.types.model — a model not described by any other value.
Onnx
c2pa.types.model.onnx — an ONNX model.
PyTorch
c2pa.types.model.pytorch — a PyTorch model.
TensorFlow
c2pa.types.model.tensorflow — a TensorFlow model.
Jax
c2pa.types.model.jax — a JAX model.
Keras
c2pa.types.model.keras — a Keras model.
MxNet
c2pa.types.model.mxnet — an MXNet model.
OpenVino
c2pa.types.model.openvino — an OpenVINO model.
Implementations§
Trait Implementations§
impl Copy for ModelType
impl Eq for ModelType
impl StructuralPartialEq for ModelType
Auto Trait Implementations§
impl Freeze for ModelType
impl RefUnwindSafe for ModelType
impl Send for ModelType
impl Sync for ModelType
impl Unpin for ModelType
impl UnsafeUnpin for ModelType
impl UnwindSafe for ModelType
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