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