Skip to content

Commit

Permalink
Merge pull request #92 from JuliaGNI/bfgs
Browse files Browse the repository at this point in the history
Bfgs pr (second attempt)
  • Loading branch information
michakraus authored Dec 4, 2023
2 parents 3863768 + 2ea1dae commit 955912f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/Documenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ jobs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@latest
- name: Install dependencies
run: |
julia --project=docs -e '
Expand Down
4 changes: 0 additions & 4 deletions src/GeometricMachineLearning.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module GeometricMachineLearning
using GeometricBase
using GeometricEquations
using GeometricIntegrators
using GPUArrays
using KernelAbstractions
using LinearAlgebra
using NNlib
Expand All @@ -19,8 +18,6 @@ module GeometricMachineLearning
using InteractiveUtils
using TimerOutputs

import CUDA

import AbstractNeuralNetworks: Architecture, Model, AbstractExplicitLayer, AbstractExplicitCell, AbstractNeuralNetwork , NeuralNetwork
import AbstractNeuralNetworks: Chain, GridCell
import AbstractNeuralNetworks: Dense, Linear, Recurrent
Expand Down Expand Up @@ -227,7 +224,6 @@ module GeometricMachineLearning
export Batch, optimize_for_one_epoch!
include("data_loader/tensor_assign.jl")
include("data_loader/matrix_assign.jl")
include("data_loader/data_loader.jl")
include("data_loader/mnist_utils.jl")
include("data_loader/batch.jl")

Expand Down
4 changes: 0 additions & 4 deletions src/manifolds/stiefel_manifold.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ end

Base.:*(Y::StiefelManifold, B::AbstractMatrix) = Y.A*B
Base.:*(B::AbstractMatrix, Y::StiefelManifold) = B*Y.A
#this is needed for the implementation of MultiHeadAttention
function Base.:*(Y::Adjoint{T, StiefelManifold{T, AT}}, B::AbstractMatrix) where {T, AT<:AbstractGPUMatrix{T}}
Y.parent.A'*B
end

function Base.:*(Y::Adjoint{T, StiefelManifold{T, AT}}, B::AbstractMatrix) where {T, AT<:AbstractMatrix{T}}
Y.parent.A'*B
Expand Down

0 comments on commit 955912f

Please sign in to comment.