2019-06-16 20:59:06 +01:00
|
|
|
{ stdenv, 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";
|
2020-02-28 09:15:28 +00:00
|
|
|
version = "2.1.0";
|
2019-02-28 10:57:08 +00:00
|
|
|
format = "wheel";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "tensorflow_estimator";
|
|
|
|
inherit version format;
|
2020-02-28 09:15:28 +00:00
|
|
|
sha256 = "0wk9viil54ms1s2ir7zxygqa425i69hx8zngwhdqvw9nlr4gdig5";
|
2019-02-28 10:57:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ mock numpy absl-py ];
|
|
|
|
|
|
|
|
meta = with stdenv.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 ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|