Skip to main content

AsLayerTyped

Trait AsLayerTyped 

Source
pub unsafe trait AsLayerTyped: AsLayer {
    const TYPE: LayerType;
}

Required Associated Constants§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl AsLayerTyped for IActivationLayer

Source§

const TYPE: LayerType = LayerType::kACTIVATION

Source§

impl AsLayerTyped for IAssertionLayer

Source§

const TYPE: LayerType = LayerType::kASSERTION

Source§

impl AsLayerTyped for IAttentionBoundaryLayer

Source§

const TYPE: LayerType = LayerType::kATTENTION_INPUT

Source§

impl AsLayerTyped for IAttentionInputLayer

Source§

const TYPE: LayerType = LayerType::kATTENTION_INPUT

Source§

impl AsLayerTyped for IAttentionOutputLayer

Source§

const TYPE: LayerType = LayerType::kATTENTION_OUTPUT

Source§

impl AsLayerTyped for ICastLayer

Source§

const TYPE: LayerType = LayerType::kCAST

Source§

impl AsLayerTyped for IConcatenationLayer

Source§

const TYPE: LayerType = LayerType::kCONCATENATION

Source§

impl AsLayerTyped for IConditionLayer

Source§

const TYPE: LayerType = LayerType::kCONDITION

Source§

impl AsLayerTyped for IConstantLayer

Source§

const TYPE: LayerType = LayerType::kCONSTANT

Source§

impl AsLayerTyped for IConvolutionLayer

Source§

const TYPE: LayerType = LayerType::kCONVOLUTION

Source§

impl AsLayerTyped for ICumulativeLayer

Source§

const TYPE: LayerType = LayerType::kCUMULATIVE

Source§

impl AsLayerTyped for IDeconvolutionLayer

Source§

const TYPE: LayerType = LayerType::kDECONVOLUTION

Source§

impl AsLayerTyped for IDequantizeLayer

Source§

const TYPE: LayerType = LayerType::kDEQUANTIZE

Source§

impl AsLayerTyped for IDistCollectiveLayer

Available on crate feature v_1_4 only.
Source§

const TYPE: LayerType = LayerType::kDIST_COLLECTIVE

Source§

impl AsLayerTyped for IDynamicQuantizeLayer

Source§

const TYPE: LayerType = LayerType::kDYNAMIC_QUANTIZE

Source§

impl AsLayerTyped for IEinsumLayer

Source§

const TYPE: LayerType = LayerType::kEINSUM

Source§

impl AsLayerTyped for IElementWiseLayer

Source§

const TYPE: LayerType = LayerType::kELEMENTWISE

Source§

impl AsLayerTyped for IFillLayer

Source§

const TYPE: LayerType = LayerType::kFILL

Source§

impl AsLayerTyped for IGatherLayer

Source§

const TYPE: LayerType = LayerType::kGATHER

Source§

impl AsLayerTyped for IGridSampleLayer

Source§

const TYPE: LayerType = LayerType::kGRID_SAMPLE

Source§

impl AsLayerTyped for IIdentityLayer

Source§

const TYPE: LayerType = LayerType::kIDENTITY

Source§

impl AsLayerTyped for IIfConditionalInputLayer

Source§

const TYPE: LayerType = LayerType::kCONDITIONAL_INPUT

Source§

impl AsLayerTyped for IIfConditionalOutputLayer

Source§

const TYPE: LayerType = LayerType::kCONDITIONAL_OUTPUT

Source§

impl AsLayerTyped for IIteratorLayer

Source§

const TYPE: LayerType = LayerType::kITERATOR

Source§

impl AsLayerTyped for IKVCacheUpdateLayer

Source§

const TYPE: LayerType = LayerType::kKVCACHE_UPDATE

Source§

impl AsLayerTyped for ILRNLayer

Source§

const TYPE: LayerType = LayerType::kLRN

Source§

impl AsLayerTyped for ILoopBoundaryLayer

Source§

const TYPE: LayerType = LayerType::kTRIP_LIMIT

Source§

impl AsLayerTyped for ILoopOutputLayer

Source§

const TYPE: LayerType = LayerType::kLOOP_OUTPUT

Source§

impl AsLayerTyped for IMatrixMultiplyLayer

Source§

const TYPE: LayerType = LayerType::kMATRIX_MULTIPLY

Source§

impl AsLayerTyped for IMoELayer

Available on crate feature v_1_4 only.
Source§

const TYPE: LayerType = LayerType::kMOE

Source§

impl AsLayerTyped for INMSLayer

Source§

const TYPE: LayerType = LayerType::kNMS

Source§

impl AsLayerTyped for INonZeroLayer

Source§

const TYPE: LayerType = LayerType::kNON_ZERO

Source§

impl AsLayerTyped for INormalizationLayer

Source§

const TYPE: LayerType = LayerType::kNORMALIZATION

Source§

impl AsLayerTyped for IOneHotLayer

Source§

const TYPE: LayerType = LayerType::kONE_HOT

Source§

impl AsLayerTyped for IPaddingLayer

Source§

const TYPE: LayerType = LayerType::kPADDING

Source§

impl AsLayerTyped for IParametricReLULayer

Source§

const TYPE: LayerType = LayerType::kPARAMETRIC_RELU

Source§

impl AsLayerTyped for IPoolingLayer

Source§

const TYPE: LayerType = LayerType::kPOOLING

Source§

impl AsLayerTyped for IQuantizeLayer

Source§

const TYPE: LayerType = LayerType::kQUANTIZE

Source§

impl AsLayerTyped for IRaggedSoftMaxLayer

Source§

const TYPE: LayerType = LayerType::kRAGGED_SOFTMAX

Source§

impl AsLayerTyped for IRecurrenceLayer

Source§

const TYPE: LayerType = LayerType::kRECURRENCE

Source§

impl AsLayerTyped for IReduceLayer

Source§

const TYPE: LayerType = LayerType::kREDUCE

Source§

impl AsLayerTyped for IResizeLayer

Source§

const TYPE: LayerType = LayerType::kRESIZE

Source§

impl AsLayerTyped for IReverseSequenceLayer

Source§

const TYPE: LayerType = LayerType::kREVERSE_SEQUENCE

Source§

impl AsLayerTyped for IRotaryEmbeddingLayer

Source§

const TYPE: LayerType = LayerType::kROTARY_EMBEDDING

Source§

impl AsLayerTyped for IScaleLayer

Source§

const TYPE: LayerType = LayerType::kSCALE

Source§

impl AsLayerTyped for IScatterLayer

Source§

const TYPE: LayerType = LayerType::kSCATTER

Source§

impl AsLayerTyped for ISelectLayer

Source§

const TYPE: LayerType = LayerType::kSELECT

Source§

impl AsLayerTyped for IShapeLayer

Source§

const TYPE: LayerType = LayerType::kSHAPE

Source§

impl AsLayerTyped for IShuffleLayer

Source§

const TYPE: LayerType = LayerType::kSHUFFLE

Source§

impl AsLayerTyped for ISliceLayer

Source§

const TYPE: LayerType = LayerType::kSLICE

Source§

impl AsLayerTyped for ISoftMaxLayer

Source§

const TYPE: LayerType = LayerType::kSOFTMAX

Source§

impl AsLayerTyped for ISqueezeLayer

Source§

const TYPE: LayerType = LayerType::kSQUEEZE

Source§

impl AsLayerTyped for ITopKLayer

Source§

const TYPE: LayerType = LayerType::kTOPK

Source§

impl AsLayerTyped for ITripLimitLayer

Source§

const TYPE: LayerType = LayerType::kTRIP_LIMIT

Source§

impl AsLayerTyped for IUnaryLayer

Source§

const TYPE: LayerType = LayerType::kUNARY

Source§

impl AsLayerTyped for IUnsqueezeLayer

Source§

const TYPE: LayerType = LayerType::kUNSQUEEZE