TensorMetadataContextFor

Trait TensorMetadataContextFor 

Source
pub trait TensorMetadataContextFor {
    type MetadataBackend: TensorMetadataPrims<Context = Self>;
}
Expand description

Bridge trait that binds a metadata execution context to its backend.

This mirrors the other family-context bridge traits but is reserved for integer/bool metadata tensor workflows.

§Examples

use tenferro_prims::TensorMetadataContextFor;

fn accepts_context<C>(_: &mut C)
where
    C: TensorMetadataContextFor,
{
}

// A backend context can satisfy this trait once the metadata family is wired.

Required Associated Types§

Source

type MetadataBackend: TensorMetadataPrims<Context = Self>

Backend associated with this context for the metadata family.

Implementors§