module npy.onnx_version#

Inheritance diagram of mlprodict.npy.onnx_version

Short summary#

module mlprodict.npy.onnx_version

Identifies a version of a function.

Classes#

class

truncated documentation

FctVersion

Identifies a version of a function based on its arguments and its parameters.

Methods#

method

truncated documentation

__len__

Returns the sum of lengths.

__repr__

usual

_check_

as_string

Returns a single string identifier.

as_tuple

Returns a single tuple for the version.

as_tuple_with_sep

Returns a single tuple for the version.

Documentation#

Identifies a version of a function.

New in version 0.6.

source on GitHub

class mlprodict.npy.onnx_version.FctVersion(args, kwargs)#

Bases: _version_

Identifies a version of a function based on its arguments and its parameters.

source on GitHub

Create new instance of _version_(args, kwargs)

__len__()#

Returns the sum of lengths.

__repr__()#

usual

__slots__ = ()#
_check_()#
as_string()#

Returns a single string identifier.

as_tuple()#

Returns a single tuple for the version.

as_tuple_with_sep(sep)#

Returns a single tuple for the version.