Group
Extension

Matches 35358

AI-MXNet ( S/SK/SKOLYCHEV/AI-MXNet-1.6.tar.gz, SKOLYCHEV, 2023; MetaCPAN )
AI-MXNet/lib/AI/MXNet/Module.pm ( view source; MetaCPAN )
ad_checkpoint(Str $prefix, Int $epoch)
{
    my $symbol = AI::MXNet::Symbol->load("$prefix-symbol.json");
    my %save_dict = %{ AI::MXNet::NDArray->load(sprintf('%s-%04d.params', $prefix, $epoch)) };
ix : Str
            path prefix of saved model files. You should have
            "prefix-symbol.json", "prefix-xxxx.params", and
            optionally "prefix-xxxx.states", where xxxx is the
      
tr $prefix, Int $epoch, Bool $save_optimizer_states=0)
{
    $self->_symbol->save("$prefix-symbol.json");
    my $param_name = sprintf('%s-%04d.params', $prefix, $epoch);
    $self->save_params($param
AI-MXNet ( S/SK/SKOLYCHEV/AI-MXNet-1.6.tar.gz, SKOLYCHEV, 2023; MetaCPAN )
AI-MXNet/lib/AI/MXNet/Symbol.pm ( view source; MetaCPAN )
oning)
{
    return $self->tojson();
}

method STORABLE_thaw($cloning, $json)
{
    my $handle = check_call(
        AI::MXNetCAPI::SymbolCreateFromJSON(
            $json
        )
    );
    $self->
ame));
}

=head2 tojson

        Save the symbol into a JSON string.

        See Also
        --------
        load_json : Used to load symbol from JSON string.
=cut

method tojson()
{
    return sca
lar(check_call(AI::MXNetCAPI::SymbolSaveToJSON($self->handle)));
}

method _get_ndarray_inputs(
    Str                                                      $arg_key,
    HashRef[AI::MXNet::NDArray]|A
AWS-CLIWrapper ( H/HI/HIROSE/AWS-CLIWrapper-1.27.tar.gz, HIROSE, 2023; MetaCPAN )
AWS-CLIWrapper/lib/AWS/CLIWrapper.pm ( view source; MetaCPAN )
S::CLIWrapper;

use 5.008001;
use strict;
use warnings;

our $VERSION = '1.27';

use version;
use JSON 2;
use IPC::Cmd;
use String::ShellQuote;
use Carp;

our $Error = { Message => '', Code => '' };

    }
    }

    my $self = bless {
        region => $region,
        opt  => \@opt,
        json => JSON->new,
        param => \%param,
        awscli_path => $param{awscli_path} || 'aws',
        
eq 'ARRAY') {
        push @v, map { ref($_) ? encode_json(_compat_kv($_)) : $_ } @$v;
    } elsif ($type eq 'HASH') {
        push @v, encode_json(_compat_kv($v));
    } elsif ($type eq 'AWS::CLIWrap
AI-MXNet ( S/SK/SKOLYCHEV/AI-MXNet-1.6.tar.gz, SKOLYCHEV, 2023; MetaCPAN )
AI-MXNet/lib/AI/MXNet/Visualization.pm ( view source; MetaCPAN )
t;
use warnings;
use AI::MXNet::NS;
use AI::MXNet::Base;
use AI::MXNet::Function::Parameters;
use JSON::PP;

=encoding UTF-8

=head1 NAME

    AI::MXNet::Vizualization - Vizualization support for Perl
hape_dict{ @{ $interals->list_outputs } } = @{ $out_shapes };
    }
    my $conf = decode_json($symbol->tojson);
    my $nodes = $conf->{nodes};
    my %heads = map { $_ => 1 } @{ $conf->{heads}[0] };
hape_dict{ @{ $interals->list_outputs } } = @{ $out_shapes };
    }
    my $conf = decode_json($symbol->tojson);
    my $nodes = $conf->{nodes};
    my %node_attr = (
        qw/ shape box fixedsize t
Hadoop-IO ( B/BU/BURAK/Hadoop-IO-0.003.tar.gz, BURAK, 2023; MetaCPAN )
Hadoop-IO/lib/Hadoop/IO/TypedBytes.pm ( view source; MetaCPAN )
g Hive TypedBytes decoder does not support arrays
and structs. Hive documentation suggests to use JSON in that case.

=item decode

    decode($reader) -> $obj

Decode a binary TypedBytes stream into 
AI-MXNet ( S/SK/SKOLYCHEV/AI-MXNet-1.6.tar.gz, SKOLYCHEV, 2023; MetaCPAN )
AI-MXNet/lib/AI/MXNet/Gluon/Block.pm ( view source; MetaCPAN )
 $x, @args)
{
    confess("NotImplementedError");
}

=head2 export

        Export HybridBlock to json format that can be loaded by AI::MXNet::Module
        or the C++ interface.

        When there 
ers
        ----------
        $path : str
            Path to save model. Two files 'path-symbol.json' and 'path-xxxx.params'
            will be created, where xxxx is the 4 digits epoch number.
   
g export."
        );
    }
    my $sym = $self->_cached_graph->[1];
    $sym->save("$path-symbol.json");

    my %arg_names = map { $_ => 1 } @{ $sym->list_arguments };
    my %aux_names = map { $_ =
CPAN-Meta-Requirements ( R/RJ/RJBS/CPAN-Meta-Requirements-2.143.tar.gz, RJBS, 2023; MetaCPAN )
CPAN-Meta-Requirements/lib/CPAN/Meta/Requirements.pm ( view source; MetaCPAN )
object models a set of version constraints like
#pod those specified in the F<META.yml> or F<META.json> files in CPAN distributions,
#pod and as defined by L<CPAN::Meta::Spec>.
#pod It can be built up
ents object models a set of version constraints like
those specified in the F<META.yml> or F<META.json> files in CPAN distributions,
and as defined by L<CPAN::Meta::Spec>.
It can be built up by adding
AI-MXNet ( S/SK/SKOLYCHEV/AI-MXNet-1.6.tar.gz, SKOLYCHEV, 2023; MetaCPAN )
AI-MXNet/lib/AI/MXNet/Metric.pm ( view source; MetaCPAN )
rnings;
use AI::MXNet::NS;
use AI::MXNet::Function::Parameters;
use Scalar::Util qw/blessed/;
use JSON::PP;

=encoding utf-8

=head1 NAME

    AI::MXNet::Metric - Evaluation Metric API.
=head1 DESCRIP
;
        }
        if($metric =~ /^{/ and not @kwargs)
        {
            my $config = decode_json($metric);
            $metric = delete $config->{metric};
            @kwargs = %{ $config };
   
RDF-NS ( V/VO/VOJ/RDF-NS-20230619.tar.gz, VOJ, 2023; MetaCPAN )
RDF-NS/lib/App/rdfns.pm ( view source; MetaCPAN )
        print STDERR "Unknown format: $f\n";
            }
        }
        if ( lc($format) eq 'json' ) {
            say join ",\n", $ns->FORMAT( $format, $a );
        } else {
            say $_ 
YYMMDD] ( <prefix[es]>[.format] | prefix:name | URL ) }+

  formats: txt, sparql, ttl, n3, xmlns, json, beacon, prefix
  options: --help | --version | --dates
 
  examples:
    rdfns 20111102 foaf,owl
LWP-ConsoleLogger ( O/OA/OALDERS/LWP-ConsoleLogger-1.000001.tar.gz, OALDERS, 2023; MetaCPAN )
LWP-ConsoleLogger/lib/LWP/ConsoleLogger.pm ( view source; MetaCPAN )
dy                        ();
use HTTP::CookieMonster               ();
use JSON::MaybeXS                     qw( decode_json );
use List::AllUtils                    qw( any apply none );
use Log::Di
yParam                   qw();
use XML::Simple                       qw( XMLin );

my $json_regex = qr{vnd.*\+json};

sub BUILD {
    my $self = shift;
    $Text::SimpleTable::AutoWidth::WIDTH_LIMIT =

                'javascript', 'html', 'json', 'xml', 'soap+xml',
                'x-www-form-urlencoded',
            )
        )
        && $subtype !~ m{$json_regex}
    ) {
        $content = $sel
Vroom ( I/IN/INGY/Vroom-0.42.tar.gz, INGY, 2023; MetaCPAN )
Vroom/lib/Vroom.pm ( view source; MetaCPAN )
, sh => 'sh',
    php => 'php',
    java => 'java',
    yaml => 'yaml',
    xml => 'xml',
    json => 'json',
    html => 'html',
    make => 'make',
    diff => 'diff',
    conf => 'conf',
};
sub par
RDF-NS ( V/VO/VOJ/RDF-NS-20230619.tar.gz, VOJ, 2023; MetaCPAN )
RDF-NS/lib/RDF/NS.pm ( view source; MetaCPAN )
use Carp;
use RDF::SN;

our $AUTOLOAD;
our $FORMATS = qr/ttl|n(otation)?3|sparql|xmlns|txt|beacon|json/;

our $DATE_REGEXP = qr/^([0-9]{4})-?([0-9][0-9])-?([0-9][0-9])$/;

sub new {
    my $class = re
 );
}

sub TXT {
    my $self = shift;
    $self->MAP( sub { "$_\t" . $self->{$_} }, @_ );
}

sub JSON {
    my $self = shift;
    $self->MAP( sub { "\"$_\": \"" . $self->{$_} . "\"" }, @_ );
}

sub B
emailvalidation ( E/EV/EVERAPI/emailvalidation-3.tar.gz, EVERAPI, 2023; MetaCPAN )
emailvalidation/lib/emailvalidation.pm ( view source; MetaCPAN )
package Emailvalidation;

use strict;
use warnings;

use LWP::UserAgent;
use JSON;

our $VERSION = '1.0';
our $BASE_URL = 'https://api.emailvalidation.io';

sub new {
    my ($class, %args) = @_;

   
tname' => 0);
    $self->{ua}->default_headers(HTTP::Headers->new(
        Accept => 'application/json',
        apikey =>  $args{apikey}
    ));

    $self->{ua}->agent('Emailvalidation/Perl/$VERSION
Vroom ( I/IN/INGY/Vroom-0.42.tar.gz, INGY, 2023; MetaCPAN )
Vroom/lib/Vroom.pod ( view source; MetaCPAN )
 unified diff output.

=item C<perl,ruby,python,php,javascript,haskell,actionscript,html,yaml,xml,json,make,shell,diff>

Specifies that the slide is one of those syntaxen, and that the appropriate
fil
CPAN-Meta-Requirements ( R/RJ/RJBS/CPAN-Meta-Requirements-2.143.tar.gz, RJBS, 2023; MetaCPAN )
CPAN-Meta-Requirements/lib/CPAN/Meta/Requirements/Range.pm ( view source; MetaCPAN )
object models a set of version constraints like
#pod those specified in the F<META.yml> or F<META.json> files in CPAN distributions,
#pod and as defined by L<CPAN::Meta::Spec>;
#pod It can be built up
ange object models a set of version constraints like
those specified in the F<META.yml> or F<META.json> files in CPAN distributions,
and as defined by L<CPAN::Meta::Spec>;
It can be built up by adding
NOLookup ( T/TR/TROHAU/NOLookup-1.38.0.tar.gz, TROHAU, 2023; MetaCPAN )
NOLookup/lib/NOLookup/Patent/DataLookup.pm ( view source; MetaCPAN )
vides a new() method
use POSIX qw(locale_h);
use NOLookup::Patent::Entry;
use WWW::Mechanize;
use JSON;
use URI::Encode qw(uri_encode);
use Data::Dumper;
$Data::Dumper::Indent=1;

my $PATENT_TIMEOUT =
entstyret.no/search/json/metadata?op=Search
###

# Free text search gives too many hits, so use the trademark-text-search
my $PATENT_SEARCH = "https://ws.patentstyret.no/search/json/reply/search/trade
mark/?trademarktext";
my $PATENT_ID     = "https://ws.patentstyret.no/search/json/reply/DetailedInfoRequest/trademark/detailedinfo/?ApplicationNumber";

my @module_methods = qw /

    lookup_tm_text
 
NOLookup ( T/TR/TROHAU/NOLookup-1.38.0.tar.gz, TROHAU, 2023; MetaCPAN )
NOLookup/bin/no_rdap.pl ( view source; MetaCPAN )
e;
use Getopt::Long qw(:config no_ignore_case bundling);
use Pod::Usage;
use Term::ANSIColor;
use JSON;

use Data::Dumper;
$Data::Dumper::Indent=1;

my ($service_url, $query, $check, $nameservers, $ra
    if ($verbose) {
	unless ($check) {
	    print $sepln;
	    print "\n--\nJSON raw data structure pretty: '", $ro->raw_json_decoded, "'\n--\n";
	}
    }
}

my $ro;

my %OPTIONS = (
    service_url  
 GET (lookup) operation OK, query '$query' found\n";
    print " Use the -v option to see the raw JSON content\n" unless ($verbose);
}

my $result = $ro->result;
#print STDERR "ro result: ", Dumper $r
NOLookup ( T/TR/TROHAU/NOLookup-1.38.0.tar.gz, TROHAU, 2023; MetaCPAN )
NOLookup/bin/no_patent.pl ( view source; MetaCPAN )
-8', $e->trademark_text), "\n";
	}

    }

}

if ($opt_v) {
    print "\n--\nJSON data structure: ", 
	Dumper($bo->raw_json_decoded), "\n--\n";

}

print STDERR "Debug bo: ", Dumper($bo), "\n--\n" if 
(1..x), which page to start on

  -o: application id (found from a -n operation)

  -d: debug: 1 or higher for increased debug level
  -v: verbose dump of the complete JSON data structure

=cut

1;


NOLookup ( T/TR/TROHAU/NOLookup-1.38.0.tar.gz, TROHAU, 2023; MetaCPAN )
NOLookup/bin/no_brreg.pl ( view source; MetaCPAN )
"\t",
	    $e->oppdateringsid, "\n";
    }
}

if ($opt_v) {
    print "\n--\nJSON data structure: ", 
	Dumper($bo->raw_json_decoded), "\n--\n";
}


=pod

=head1 NAME

no_brreg.pl

=head1 DESCRIPTION

 service.

no_brreg.pl -f 2017-04-29 -t 2017-04-30 -i 2 -p 1

Up to a maximum of 1000 matches (10 json pages) are listed.

Examples:

  perl no_brreg.pl -o 985821585

     Found 1 matching entries:
  
efault 100).
  -i: page index (0..x), which page to start on

  Other:
  -d: debug: 1 or higher for increased debug level
  -h: help
  -v: verbose dump of the complete JSON data structure

=cut

1;


GitLab-API-v4 ( B/BL/BLUEFEET/GitLab-API-v4-0.27.tar.gz, BLUEFEET, 2023; MetaCPAN )
GitLab-API-v4/lib/GitLab/API/v4/RESTClient.pm ( view source; MetaCPAN )
t that does the heavy lifting.

=head1 DESCRIPTION

Currently this class uses L<HTTP::Tiny> and L<JSON::MaybeXS> to do its job.
This may change, and the interface may change, so documentation is lacki
rror when making the request

=cut

use Carp qw();
use HTTP::Tiny::Multipart;
use HTTP::Tiny;
use JSON::MaybeXS;
use Log::Any qw( $log );
use Path::Tiny;
use Try::Tiny;
use Types::Common::Numeric -typ
n HTTP::Tiny->new( verify_SSL => 1 );
}

has json => (
    is  => 'lazy',
    isa => HasMethods[ 'encode', 'decode' ],
);
sub _build_json {
    return JSON::MaybeXS->new(utf8 => 1, allow_nonref => 1);

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