A multi-backend implementation of the Keras API, with support for TensorFlow, JAX, and PyTorch.
APACHE-2.0 License
Bot releases are hidden (Show)
keras.random.shuffle
, keras.ops.image.map_coordinates
tf.SparseTensor
with TensorFlow backend (same level of support as legacy tf.keras
)Discretization
layer backend agnosticops.random.shuffle
by @james77777778 in https://github.com/keras-team/keras-core/pull/907
ops.map_coordinates
by @james77777778 in https://github.com/keras-team/keras-core/pull/906
ops.split
in torch consistent with other backends by @james77777778 in https://github.com/keras-team/keras-core/pull/914
MultipleChoice with Transfer Learning
example by @awsaf49 in https://github.com/keras-team/keras-core/pull/884
affine_transform
between numpy and jax by @james77777778 in https://github.com/keras-team/keras-core/pull/926
affine_transform
by @james77777778 in https://github.com/keras-team/keras-core/pull/929
save_model_to_hdf5
+ Improve is_remote_path
+ Fix is_remote_path
by @Faisal-Alsrheed in https://github.com/keras-team/keras-core/pull/900
Full Changelog: https://github.com/keras-team/keras-core/compare/v0.1.6...v0.1.7
Published by fchollet about 1 year ago
ops.nn.moments
TorchModuleWrapper
to make it possible to use PyTorch Modules in Keras Core models with the PyTorch backend. Modules added as attributes of a layer are automatically wrapped (so that their weights are tracked).ignore_class
argument in SparseCategoricalCrossentropy
.tf.keras
from transposed conv test by @sampathweb in https://github.com/keras-team/keras-core/pull/782
tf.data
with tf_data
in preprocessing tests by @sampathweb in https://github.com/keras-team/keras-core/pull/787
tf.keras
in center-crop and resize tests by @sampathweb in https://github.com/keras-team/keras-core/pull/804
loss
attribute for backward compatibility by @haifeng-jin in https://github.com/keras-team/keras-core/pull/813
TorchModuleWrapper
by @soumik12345 in https://github.com/keras-team/keras-core/pull/779
backend.shape
in random preprocessing by @sampathweb in https://github.com/keras-team/keras-core/pull/822
stft
by @james77777778 in https://github.com/keras-team/keras-core/pull/825
reduce_shape
+ Add tests to operation_utils_test.py by @Faisal-Alsrheed in https://github.com/keras-team/keras-core/pull/826
standardize_dtype
and fix pad
in torch backend by @james77777778 in https://github.com/keras-team/keras-core/pull/828
static_call
by @Faisal-Alsrheed in https://github.com/keras-team/keras-core/pull/847
keras_core/utils
by @Faisal-Alsrheed in https://github.com/keras-team/keras-core/pull/856
keras_core
/trainers
by @Faisal-Alsrheed in https://github.com/keras-team/keras-core/pull/860
keras_core/backend
by @Faisal-Alsrheed in https://github.com/keras-team/keras-core/pull/864
run_layer_test
also runs symbolic calls when input_data
is provided. by @hertschuh in https://github.com/keras-team/keras-core/pull/870
cast_to_common_dtype
by @Faisal-Alsrheed in https://github.com/keras-team/keras-core/pull/875
stop_gradient
in np by @james77777778 in https://github.com/keras-team/keras-core/pull/872
ops.nn.moments
and speed-up normalization layers by @james77777778 in https://github.com/keras-team/keras-core/pull/866
keras_core.backend
by @mattdangerw in https://github.com/keras-team/keras-core/pull/886
model.save
API for legacy H5 format by @nkovela1 in https://github.com/keras-team/keras-core/pull/891
utils
by @Faisal-Alsrheed in https://github.com/keras-team/keras-core/pull/880
ops.rsqrt
, improve normalization layers and enable ops fusion in tflite by @james77777778 in https://github.com/keras-team/keras-core/pull/892
Full Changelog: https://github.com/keras-team/keras-core/compare/v0.1.5...v0.1.6
Published by fchollet about 1 year ago
model.export()
flow.rsqrt
, extract_sequences
, rfft
, stft
, irfft
, istft
.ops.shape
now returns a tuple with all backends (rather than a TF tensor with the TF backend). The tuple may contain scalar tensors for dynamic dimensions, and contains integers otherwise for static dimensions.tf.keras
for expected result in Conv1D Test by @sampathweb in https://github.com/keras-team/keras-core/pull/725
examples/.../token_learner.py
by @guillaumebaquiast in https://github.com/keras-team/keras-core/pull/727
rms_scaling
in LayerNormalization by @shivance in https://github.com/keras-team/keras-core/pull/726
extract_sequences
, rfft
and stft
to ops.math by @james77777778 in https://github.com/keras-team/keras-core/pull/717
scipy
LazyModule by @james77777778 in https://github.com/keras-team/keras-core/pull/734
tf.keras
with numpy for conv2d and conv3d tests by @sampathweb in https://github.com/keras-team/keras-core/pull/740
convert_to_numpy
in hashing
and tests by @james77777778 in https://github.com/keras-team/keras-core/pull/748
irfft
and istft
by @james77777778 in https://github.com/keras-team/keras-core/pull/742
tf.keras
from depthwise and separable conv tests by @sampathweb in https://github.com/keras-team/keras-core/pull/752
standardize_shape
by @james77777778 in https://github.com/keras-team/keras-core/pull/753
mobilenet_v3
and densenet
by @james77777778 in https://github.com/keras-team/keras-core/pull/759
Full Changelog: https://github.com/keras-team/keras-core/compare/v0.1.4...v0.1.5
Published by fchollet about 1 year ago
Lion
optimizermodel.predict()
and model.evaluate()
with the NumPy backendcosh
, sinh
, arctanh
, arcsinh
, arccosh
segment_max
, digitize
ImageClassifier
guide to keras_core
by @tirthasheshpatel in https://github.com/keras-team/keras-core/pull/608
ImageClassifier
demo and minimize the use of tensorflow by @tirthasheshpatel in https://github.com/keras-team/keras-core/pull/645
image.extract_patches
by @guillaumebaquiast in https://github.com/keras-team/keras-core/pull/647
jax.random.PRNGKey
inputs in jax by @GallagherCommaJack in https://github.com/keras-team/keras-core/pull/651
tf.keras
from Pooling tests - Max, Average and Global pooling by @sampathweb in https://github.com/keras-team/keras-core/pull/657
mlp_image_classification.py
to all backends by @guillaumebaquiast in https://github.com/keras-team/keras-core/pull/663
RandomCrop
layer by @soumik12345 in https://github.com/keras-team/keras-core/pull/493
self.support_jit = False
in RandomFlip by @james77777778 in https://github.com/keras-team/keras-core/pull/665
Full Changelog: https://github.com/keras-team/keras-core/compare/v0.1.3...v0.1.4
Published by fchollet about 1 year ago
h5
saving and loadingkeras_core.ops.fft
and keras_core.ops.fft2
keras_core.ops.image.affine_transform
keras_core.ops.image.extract_patches
affine_transform
op to all backends by @james77777778 in https://github.com/keras-team/keras-core/pull/477
_available
attribute by @sampathweb in https://github.com/keras-team/keras-core/pull/579
keras_core/ops/numpy.py
by @guillaumebaquiast in https://github.com/keras-team/keras-core/pull/558
min
and max
by @guillaumebaquiast in https://github.com/keras-team/keras-core/pull/592
TensorFlowTrainer
compatibility for TF<2.9 by @taehoonlee in https://github.com/keras-team/keras-core/pull/598
affine_transform
by @james77777778 in https://github.com/keras-team/keras-core/pull/574
Full Changelog: https://github.com/keras-team/keras-core/compare/v0.1.2...v0.1.3
Published by fchollet over 1 year ago
Bug fixes and performance improvements.
Full Changelog: https://github.com/keras-team/keras-core/compare/v0.1.1...v0.1.2
Published by fchollet over 1 year ago
keras-core
by @soumik12345 in https://github.com/keras-team/keras-core/pull/486
keras-core
by @soumik12345 in https://github.com/keras-team/keras-core/pull/491
Full Changelog: https://github.com/keras-team/keras-core/compare/v0.1.0...v0.1.1
Published by fchollet over 1 year ago
Initial preview release. See the announcement post for details on capabilities, credits, etc.