mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 21:17:46 +00:00
28 lines
664 B
Nix
28 lines
664 B
Nix
{ lib, stdenv, fetchPypi, buildPythonPackage
|
|
, numpy
|
|
, absl-py
|
|
, mock
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tensorflow-estimator";
|
|
version = "2.4.0";
|
|
format = "wheel";
|
|
|
|
src = fetchPypi {
|
|
pname = "tensorflow_estimator";
|
|
inherit version format;
|
|
sha256 = "1w0pkcslm6934qqd6m5gxyjdlnb4pbl47k6s99wsh6dyvvr7nysv";
|
|
};
|
|
|
|
propagatedBuildInputs = [ mock numpy absl-py ];
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|
|
|