nixpkgs/pkgs/development/python-modules/tensorflow-estimator/default.nix
2022-03-14 00:29:02 +01:00

28 lines
653 B
Nix

{ lib, fetchPypi, buildPythonPackage
, numpy
, absl-py
, mock
}:
buildPythonPackage rec {
pname = "tensorflow-estimator";
version = "2.8.0";
format = "wheel";
src = fetchPypi {
pname = "tensorflow_estimator";
inherit version format;
hash = "sha256-vujgUgxgrn6vbKjLRsWp9LRXJVMTgNuPvjj8tIR4trs=";
};
propagatedBuildInputs = [ mock numpy absl-py ];
meta = with lib; {
description = "TensorFlow Estimator is a high-level API that encapsulates model training, evaluation, prediction, and exporting.";
homepage = "http://tensorflow.org";
license = licenses.asl20;
maintainers = with maintainers; [ jyp ];
};
}