Type-level mean function for use in other type computations
Input tensor storage type
Axes to reduce along
Whether to keep reduced dimensions
type Input = TensorStorage<Int32, [32, 128], [128, 1], DefaultLayoutFlags>;type FeatureMean = Mean<Input, [-1], true>; // Mean over features, keep dim Copy
type Input = TensorStorage<Int32, [32, 128], [128, 1], DefaultLayoutFlags>;type FeatureMean = Mean<Input, [-1], true>; // Mean over features, keep dim
Type-level mean function for use in other type computations