This commit is contained in:
mepatrick73 2024-08-23 16:50:54 -04:00
parent bde8e60dc3
commit 27c7a33dee
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,7 @@ pub struct ScatterNode {
pub indices: TensorType,
pub updates: TensorType,
pub output: TensorType,
pub axis: usize,
axis: usize,
}
impl<PS: PrecisionSettings> NodeCodegen<PS> for ScatterNode {
@ -22,6 +22,7 @@ impl<PS: PrecisionSettings> NodeCodegen<PS> for ScatterNode {
vec![
Type::Tensor(self.input.clone()),
Type::Tensor(self.indices.clone()),
Type::Tensor(self.updates.clone()),
]
}