CpuRngPlan

Type Alias CpuRngPlan 

Source
pub type CpuRngPlan = (RngPrimsDescriptor, Vec<usize>);
Expand description

CPU execution plan for the RNG family.

The plan stores the descriptor together with the output shape so execution can revalidate the destination tensor before mutating it.

§Examples

use tenferro_prims::CpuRngPlan;
let _plan: CpuRngPlan = (tenferro_prims::RngPrimsDescriptor::Uniform, vec![2, 2]);