Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

✨ feat: VQGrad, VQGradSeq #107

Merged
merged 14 commits into from
Sep 18, 2023
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.

## [unreleased]

🪜 **feat:** VQGrad, VQGradSeq ([#107](https://github.com/owkin/GrAIdient/pull/107))

## 0.3.1 (2023-08-09)

### Bug Fixes
2 changes: 1 addition & 1 deletion Sources/GrAITestsUtils/Trainer.swift
Original file line number Diff line number Diff line change
@@ -69,7 +69,7 @@ extension TestError: CustomStringConvertible
///
/// - Parameter model: The model on which to select the initialization scheme.
///
func randomSelectWeightsInitializationScheme(model: Model)
public func randomSelectWeightsInitializationScheme(model: Model)
{
let choice = Int.random(in: 0...4)
switch choice {
4 changes: 2 additions & 2 deletions Sources/GrAIdient/Layer2D/Normalize2D.swift
Original file line number Diff line number Diff line change
@@ -570,7 +570,7 @@ public class Normalize122D: Layer2D
command.enqueue()

// Continue the reduction in a more generic way.
reduce(
reduceSum(
inBuffer: _squaredNorm.metal,
outBuffer: _squaredNorm.metal,
dim1: nbThreadgroups, dim2: batchSize,
@@ -725,7 +725,7 @@ public class Normalize122D: Layer2D
command.enqueue()

// Continue the reduction in a more generic way.
reduce(
reduceSum(
inBuffer: _deltaTmp.metal,
outBuffer: _deltaTmp.metal,
dim1: nbThreadgroups, dim2: batchSize,
Loading