forked from mirrors/nixpkgs
28 lines
665 B
Nix
28 lines
665 B
Nix
|
{ stdenv, fetchPypi, buildPythonPackage
|
||
|
, numpy
|
||
|
, absl-py
|
||
|
, mock
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "tensorflow-estimator";
|
||
|
version = "1.15.1";
|
||
|
format = "wheel";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
pname = "tensorflow_estimator";
|
||
|
inherit version format;
|
||
|
sha256 = "1fc61wmc0w22frs79j2x4g6wnv5g21xc6rix1g4bsvy9qfvvylw8";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|
||
|
|