1{ lib, fetchPypi, buildPythonPackage
2, numpy
3, absl-py
4, mock
5}:
6
7buildPythonPackage rec {
8 pname = "tensorflow-estimator";
9 version = "2.4.0";
10 format = "wheel";
11
12 src = fetchPypi {
13 pname = "tensorflow_estimator";
14 inherit version format;
15 sha256 = "1w0pkcslm6934qqd6m5gxyjdlnb4pbl47k6s99wsh6dyvvr7nysv";
16 };
17
18 propagatedBuildInputs = [ mock numpy absl-py ];
19
20 meta = with lib; {
21 description = "TensorFlow Estimator is a high-level API that encapsulates model training, evaluation, prediction, and exporting.";
22 homepage = "http://tensorflow.org";
23 license = licenses.asl20;
24 maintainers = with maintainers; [ jyp ];
25 };
26}
27