AI::PredictionClient::Alien::TensorFlowServingProtos - Builds C++ client library for TensorFlow Serving.
In your Build.PL:
use Module::Build; use AI::PredictionClient::Alien::TensorFlowServingProtos; my $builder = Module::Build->new( ... configure_requires => { 'AI::PredictionClient::Alien::TensorFlowServingProtos' => '0', ... }, extra_compiler_flags => AI::PredictionClient::Alien::TensorFlowServingProtos->cflags, extra_linker_flags => AI::PredictionClient::Alien::TensorFlowServingProtos->libs, ... ); $build->create_build_script;
In your Makefile.PL:
use ExtUtils::MakeMaker; use Config; use AI::PredictionClient::Alien::TensorFlowServingProtos; WriteMakefile( ... CONFIGURE_REQUIRES => { 'AI::PredictionClient::Alien::TensorFlowServingProtos' => '0', }, CCFLAGS => AI::PredictionClient::Alien::TensorFlowServingProtos->cflags . " $Config{ccflags}", LIBS => [ AI::PredictionClient::Alien::TensorFlowServingProtos->libs ], ... );
This distribution builds a C++ library for use by other Perl XS modules to communicate with Google TensorFlow Serving model servers. It is primarily intended to be used with the cpan AI::PredictionClient module.
This module builds a library 'tensorflow_serving_protos_so' that provides the protos for the Predict, Classify, Regress and MultiInference prediction services.
The built library is installed in a private share location within this module for use by other modules.
This module is dependent on gRPC. This module will use the cpan module Alien::Google::GRPC to either use an existing gRPC installed on your system or if not found, the Alien::Google::GRPC module will download and build a private copy.
Additional, the following dependencies need to be installed in order for this module to build.
$ [sudo] apt-get install build-essential make g++
See the Alien::Google::GRPC for potential additional build dependencies.
At this time only Linux builds are supported.
Tom Stall stall@cpan.org
Alien, Alien::Base, Alien::Build::Manual::AlienUser
To install AI::PredictionClient::Alien::TensorFlowServingProtos, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AI::PredictionClient::Alien::TensorFlowServingProtos
CPAN shell
perl -MCPAN -e shell install AI::PredictionClient::Alien::TensorFlowServingProtos
For more information on module installation, please visit the detailed CPAN module installation guide.