Group
Extension

Matches 4

AI-PredictionClient ( S/ST/STALL/AI-PredictionClient-0.05.tar.gz, STALL, 2017; MetaCPAN )
AI-PredictionClient/lib/AI/PredictionClient.pm ( view source; MetaCPAN )
ting/exporting the tensors in/out of a math package.   

The design takes advantage of the native JSON serialization capabilities built into the C++ Protocol Buffers. 
Serialization allows a much simp
AI-PredictionClient ( S/ST/STALL/AI-PredictionClient-0.05.tar.gz, STALL, 2017; MetaCPAN )
AI-PredictionClient/lib/AI/PredictionClient/Roles/PredictionRole.pm ( view source; MetaCPAN )
dictionClient::CPP::PredictionGrpcCpp;
use AI::PredictionClient::Testing::PredictionLoopback;
use JSON ();
use Data::Dumper;
use MIME::Base64 qw( encode_base64 decode_base64 );
use Moo::Role;

has hos
 my $json = JSON->new;

  my $request_json = $json->encode($self->request_ds);
  printf("Debug - JSON Request: %s \n", Dumper(\$request_json))
    if $self->debug_verbose;

  return $request_json;
}

eturn = shift;

  printf("Debug - JSON Response: %s \n", Dumper(\$serialized_return))
    if $self->debug_verbose;

  my $json = JSON->new;

  my $returned_ds = $json->decode(
    ref($serialized_retu
AI-PredictionClient ( S/ST/STALL/AI-PredictionClient-0.05.tar.gz, STALL, 2017; MetaCPAN )
AI-PredictionClient/lib/AI/PredictionClient/Docs/Overview.pod ( view source; MetaCPAN )
ting/exporting the tensors in/out of a math package.   

The design takes advantage of the native JSON serialization capabilities built into the C++ Protocol Buffers. 
Serialization allows a much simp
AI-PredictionClient ( S/ST/STALL/AI-PredictionClient-0.05.tar.gz, STALL, 2017; MetaCPAN )
AI-PredictionClient/lib/AI/PredictionClient/CPP/PredictionGrpcCpp.pm ( view source; MetaCPAN )
m>
#include <memory>
#include <string>

#include <grpc++/grpc++.h>
#include <google/protobuf/util/json_util.h>

#include "tensorflow_serving/apis/prediction_service.grpc.pb.h"
#include "tds/base64.pb.
util::JsonPrintOptions jprint_options;
  google::protobuf::util::JsonParseOptions jparse_options;

  google::protobuf::util::Status request_serialized_status =
      google::protobuf::util::JsonString
ogle::protobuf::util::Status response_serialize_status =
        google::protobuf::util::MessageToJsonString(
            response, &serialized_result_object, jprint_options);

    if (!response_seria

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.