8000 LBFGSFunctionOptimizer by DirkToewe · Pull Request #1385 · tensorflow/tfjs-core · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Aug 15, 2019. It is now read-only.

LBFGSFunctionOptimizer #1385

Open
wants to merge 14 commits into
base: master
8000 Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Split stronWolfeLineSearch test into more, smaller parts.
  • Loading branch information
DirkToewe committed Nov 9, 2018
commit 239e255d6498f48264978f25da4fea3e36793a13
4 changes: 2 additions & 2 deletions src/optimizers/lbfgs_function_optimizer_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ function val( t: Tensor ) {
describeWithFlags('strongWolfeLineSearch', ALL_ENVS, () => {

const testWith = ( name: string, func: (x: Tensor) => Tensor ) => {
for( let test=0; test < 8; test++ ) {
for( let test=0; test < 32; test++ ) {
for( const l of [2,3,4] ) {
it(`should work on ${l}d ${name} (test ${test})`, () => {

Expand All @@ -191,7 +191,7 @@ describeWithFlags('strongWolfeLineSearch', ALL_ENVS, () => {
})(),
linSearch = strongWolfeLineSearch(c1,c2,c3);

for( let run=0; run < 32; run++ )
for( let run=0; run < 8; run++ )
{
ENV.engine.tidy( () => {

Expand Down
0