1
2
3
4
5
6
7
8
9
10
use crate::datatypes;

use super::TensorDimensionIndexSelection;

impl TensorDimensionIndexSelection {
    /// Creates a new `TensorDimensionIndexSelection` from the given `dimension` and `index`.
    pub fn new(dimension: u32, index: u64) -> Self {
        Self(datatypes::TensorDimensionIndexSelection { dimension, index })
    }
}