gemma.cpp/backprop
Jan Wassenberg f9b390b134 Support all weight types in a single binary.
This changes the command line flags, but the default value retains the previous behavior.

Also add a CreateGemma helper to enable extra args without interface changes.

PiperOrigin-RevId: 641266411
2024-06-07 09:04:45 -07:00
..
backward-inl.h Support all weight types in a single binary. 2024-06-07 09:04:45 -07:00
backward.cc Support all weight types in a single binary. 2024-06-07 09:04:45 -07:00
backward.h Move the backpropagation code to its own directory 2024-06-04 10:20:16 +00:00
backward_scalar.h Merge pull request #212 from szabadka:adam2 2024-06-07 02:25:18 -07:00
backward_scalar_test.cc Merge pull request #212 from szabadka:adam2 2024-06-07 02:25:18 -07:00
backward_test.cc Merge pull request #212 from szabadka:adam2 2024-06-07 02:25:18 -07:00
common_scalar.h Merge pull request #212 from szabadka:adam2 2024-06-07 02:25:18 -07:00
forward-inl.h Merge pull request #212 from szabadka:adam2 2024-06-07 02:25:18 -07:00
forward.cc Support all weight types in a single binary. 2024-06-07 09:04:45 -07:00
forward.h Move the backpropagation code to its own directory 2024-06-04 10:20:16 +00:00
forward_scalar.h Add Adam optimizer. 2024-06-06 18:41:36 +00:00
optimize_test.cc Support all weight types in a single binary. 2024-06-07 09:04:45 -07:00
optimizer.cc Support all weight types in a single binary. 2024-06-07 09:04:45 -07:00
optimizer.h Support all weight types in a single binary. 2024-06-07 09:04:45 -07:00
prompt.h Add missing include 2024-06-04 10:29:12 +00:00
sampler.h Merge pull request #212 from szabadka:adam2 2024-06-07 02:25:18 -07:00
test_util.h Move the backpropagation code to its own directory 2024-06-04 10:20:16 +00:00