2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage
|
2019-02-28 10:57:08 +00:00
|
|
|
, numpy
|
2020-02-28 09:15:28 +00:00
|
|
|
, absl-py
|
2019-02-28 10:57:08 +00:00
|
|
|
, mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tensorflow-estimator";
|
2021-01-10 10:50:33 +00:00
|
|
|
version = "2.4.0";
|
2019-02-28 10:57:08 +00:00
|
|
|
format = "wheel";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "tensorflow_estimator";
|
|
|
|
inherit version format;
|
2021-01-10 10:50:33 +00:00
|
|
|
sha256 = "1w0pkcslm6934qqd6m5gxyjdlnb4pbl47k6s99wsh6dyvvr7nysv";
|
2019-02-28 10:57:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ mock numpy absl-py ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-02-28 10:57:08 +00:00
|
|
|
description = "TensorFlow Estimator is a high-level API that encapsulates model training, evaluation, prediction, and exporting.";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://tensorflow.org";
|
2019-02-28 10:57:08 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ jyp ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|