AI-TensorFlow-Libtensorflow
view release on metacpan or search on metacpan
lib/AI/TensorFlow/Libtensorflow/Session.pm view on Meta::CPAN
=back
B<Returns>
=over 4
=item Maybe[TFSession]
A new execution session with the associated graph, or C<undef> on
error.
=back
B<C API>: L<< C<TF_NewSession>|AI::TensorFlow::Libtensorflow::Manual::CAPI/TF_NewSession >>
=head2 LoadFromSavedModel
B<C API>: L<< C<TF_LoadSessionFromSavedModel>|AI::TensorFlow::Libtensorflow::Manual::CAPI/TF_LoadSessionFromSavedModel >>
=head1 METHODS
=head2 Run
Run the graph associated with the session starting with the supplied
C<$inputs> with corresponding values in C<$input_values>.
The values at the outputs given by C<$outputs> will be placed in
C<$output_values>.
B<Parameters>
=over 4
=item Maybe[TFBuffer] $run_options
Optional C<TFBuffer> containing serialized representation of a `RunOptions` protocol buffer.
=item ArrayRef[TFOutput] $inputs
Inputs to set.
=item ArrayRef[TFTensor] $input_values
Values to assign to the inputs given by C<$inputs>.
=item ArrayRef[TFOutput] $outputs
Outputs to get.
=item ArrayRef[TFTensor] $output_values
Reference to where the output values for C<$outputs> will be placed.
=item ArrayRef[TFOperation] $target_opers
TODO
=item Maybe[TFBuffer] $run_metadata
Optional empty C<TFBuffer> which will be updated to contain a serialized
representation of a `RunMetadata` protocol buffer.
=item L<TFStatus|AI::TensorFlow::Libtensorflow::Lib::Types/TFStatus> $status
Status
=back
B<C API>: L<< C<TF_SessionRun>|AI::TensorFlow::Libtensorflow::Manual::CAPI/TF_SessionRun >>
=head2 PRunSetup
B<C API>: L<< C<TF_SessionPRunSetup>|AI::TensorFlow::Libtensorflow::Manual::CAPI/TF_SessionPRunSetup >>
=head2 AI::TensorFlow::Libtensorflow::Session::_PRHandle::DESTROY
B<C API>: L<< C<TF_DeletePRunHandle>|AI::TensorFlow::Libtensorflow::Manual::CAPI/TF_DeletePRunHandle >>
=head2 PRun
B<C API>: L<< C<TF_SessionPRun>|AI::TensorFlow::Libtensorflow::Manual::CAPI/TF_SessionPRun >>
=head2 ListDevices
B<C API>: L<< C<TF_SessionListDevices>|AI::TensorFlow::Libtensorflow::Manual::CAPI/TF_SessionListDevices >>
=head2 Close
TODO
B<C API>: L<< C<TF_CloseSession>|AI::TensorFlow::Libtensorflow::Manual::CAPI/TF_CloseSession >>
=head2 _Delete
B<C API>: L<< C<TF_DeleteSession>|AI::TensorFlow::Libtensorflow::Manual::CAPI/TF_DeleteSession >>
=head1 AUTHOR
Zakariyya Mughal <zmughal@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is Copyright (c) 2022-2023 by Auto-Parallel Technologies, Inc.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
=cut
( run in 2.633 seconds using v1.01-cache-2.11-cpan-5b529ec07f3 )