pub enum TensorBoundShape_DimType {
UNKNOWN,
CONSTANT,
BATCH,
BATCH_OF_FEATURE_MAX,
BATCH_OF_FEATURE_MAX_DEFAULT,
FEATURE_MAX,
FEATURE_MAX_DEFAULT,
}
Variants§
UNKNOWN
CONSTANT
BATCH
BATCH_OF_FEATURE_MAX
BATCH_OF_FEATURE_MAX_DEFAULT
FEATURE_MAX
FEATURE_MAX_DEFAULT
Trait Implementations§
source§impl Clone for TensorBoundShape_DimType
impl Clone for TensorBoundShape_DimType
source§fn clone(&self) -> TensorBoundShape_DimType
fn clone(&self) -> TensorBoundShape_DimType
Returns a copy 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 TensorBoundShape_DimType
impl Debug for TensorBoundShape_DimType
source§impl Default for TensorBoundShape_DimType
impl Default for TensorBoundShape_DimType
source§fn default() -> TensorBoundShape_DimType
fn default() -> TensorBoundShape_DimType
Returns the “default value” for a type. Read more
source§impl Hash for TensorBoundShape_DimType
impl Hash for TensorBoundShape_DimType
source§impl PartialEq<TensorBoundShape_DimType> for TensorBoundShape_DimType
impl PartialEq<TensorBoundShape_DimType> for TensorBoundShape_DimType
source§fn eq(&self, other: &TensorBoundShape_DimType) -> bool
fn eq(&self, other: &TensorBoundShape_DimType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ProtobufEnum for TensorBoundShape_DimType
impl ProtobufEnum for TensorBoundShape_DimType
source§fn from_i32(value: i32) -> Option<TensorBoundShape_DimType>
fn from_i32(value: i32) -> Option<TensorBoundShape_DimType>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn values() -> &'static [TensorBoundShape_DimType]
fn values() -> &'static [TensorBoundShape_DimType]
Get all enum values for enum type.
source§fn enum_descriptor_static() -> &'static EnumDescriptor
fn enum_descriptor_static() -> &'static EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> &'static EnumValueDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
source§fn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
source§impl ProtobufValue for TensorBoundShape_DimType
impl ProtobufValue for TensorBoundShape_DimType
source§fn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
source§fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?
source§fn as_ref_copy(&self) -> ReflectValueRef<'static>
fn as_ref_copy(&self) -> ReflectValueRef<'static>
impl Copy for TensorBoundShape_DimType
impl Eq for TensorBoundShape_DimType
impl StructuralEq for TensorBoundShape_DimType
impl StructuralPartialEq for TensorBoundShape_DimType
Auto Trait Implementations§
impl RefUnwindSafe for TensorBoundShape_DimType
impl Send for TensorBoundShape_DimType
impl Sync for TensorBoundShape_DimType
impl Unpin for TensorBoundShape_DimType
impl UnwindSafe for TensorBoundShape_DimType
Blanket Implementations§
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.