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§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 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?