Skip to content

Commit

Permalink
pythonPackages.tensorflow-estimator: init 1.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jyp authored and FRidh committed Mar 2, 2019
1 parent d92028a commit 1997ca3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/development/python-modules/tensorflow-estimator/default.nix
@@ -0,0 +1,27 @@
{ stdenv, lib, fetchPypi, buildPythonPackage, isPy3k
, numpy
, absl-py
, mock
}:

buildPythonPackage rec {
pname = "tensorflow-estimator";
version = "1.13.0";
format = "wheel";

src = fetchPypi {
pname = "tensorflow_estimator";
inherit version format;
sha256 = "068l4w0w7dj9gqkf8avjclq9zsp7ifwzw4rpf4qjylz3hczamzbw";
};

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 ];
};
}

2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -5054,6 +5054,8 @@ in {

zerobin = callPackage ../development/python-modules/zerobin { };

tensorflow-estimator = callPackage ../development/python-modules/tensorflow-estimator { };

tensorflow-tensorboard = callPackage ../development/python-modules/tensorflow-tensorboard { };

tensorflow = disabledIf isPy37 (
Expand Down

0 comments on commit 1997ca3

Please sign in to comment.