Merge pull request #316822 from GaetanLepage/tf-keras

python311Packages.tf-keras: init at 2.16.0
This commit is contained in:
Peder Bergebakken Sundt 2024-06-03 15:25:36 +02:00 committed by GitHub
commit d98a72fce6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,55 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
pythonRelaxDepsHook,
setuptools,
wheel,
numpy,
tensorflow,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "tf-keras";
version = "2.16.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "tf_keras";
inherit version;
hash = "sha256-21OJHxrJgZfCrM7ZjNyowGuoJVZVpst+uV7UlnYRgoA=";
};
nativeBuildInputs = [
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"tensorflow"
];
build-system = [
setuptools
wheel
];
dependencies = [
numpy
tensorflow
];
pythonImportsCheck = [ "tf_keras" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Deep learning for humans";
homepage = "https://pypi.org/project/tf-keras/";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}

View File

@ -15091,6 +15091,8 @@ self: super: with self; {
textx = callPackage ../development/python-modules/textx { };
tf-keras = callPackage ../development/python-modules/tf-keras { };
tf2onnx = callPackage ../development/python-modules/tf2onnx { };
tflearn = callPackage ../development/python-modules/tflearn { };