AI-NNVMCAPI
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
LICENSE => 'apache_2_0',
AUTHOR => 'Sergey Kolychev <sergeykolychev.github@gmail.com>',
VERSION_FROM => 'lib/AI/NNVMCAPI.pm',
ABSTRACT_FROM => 'lib/AI/NNVMCAPI.pm',
LIBS => ['-L../../lib -lmxnet'],
INC => '-I../../3rdparty/tvm/nnvm/include/nnvm',
OBJECT => 'nnvm_wrap.o',
LDDLFLAGS => join(' ', @lddlflags),
PREREQ_PM => {
# prereqs
# build/test prereqs
'Test::More' => 0,
},
PL_FILES => {},
);
=====================
Swig interface to MXNet c api.
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make install
DEPENDENCIES
This module requires mxnet https://mxnet.io
It's used by AI::MXNet.
COPYRIGHT AND LICENCE
This library is licensed under Apache 2.0 license https://www.apache.org/licenses/LICENSE-2.0
*/
int NNGraphGetJSONAttr(SymbolHandle in,
const char* key,
const char** out,
int *out);
/*!
* \brief Set a attribute whose type is std::vector<NodeEntry> in c++
* This feature allows pass List of symbolic variables for gradient request.
*
* \note This is beta feature only used for test purpos
*
* \param handle The graph handle.
* \param key The key to the attribute.
* \param list The symbol whose outputs represents the list of NodeEntry to be passed.
* \return 0 when success, -1 when failure happens
*/
int NNGraphSetNodeEntryListAttr_(GraphHandle handle,
const char* key,
SymbolHandle in);
/*!
t/AI-NNVMCAPI.t view on Meta::CPAN
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
use strict;
use warnings;
use Test::More tests => 1;
BEGIN { use_ok('AI::NNVMCAPI') };
( run in 0.288 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )