module grammar.gactions_tensor

Inheritance diagram of mlprodict.grammar.gactions_tensor

Short summary

module mlprodict.grammar.gactions_tensor

Action definition.

source on GitHub

Classes

class

truncated documentation

MLActionTensorAdd

Tensor addition.

MLActionTensorDiv

Tensor division.

MLActionTensorDot

Scalar product.

MLActionTensorMul

Tensor multiplication.

MLActionTensorSub

Tensor soustraction.

MLActionTensorTake

Extracts an element of the tensor.

MLActionTensorVector

Tensor operation.

Properties

property

truncated documentation

ChildrenResults

Return the last execution results.

ChildrenResults

Return the last execution results.

ChildrenResults

Return the last execution results.

ChildrenResults

Return the last execution results.

ChildrenResults

Return the last execution results.

ChildrenResults

Return the last execution results.

ChildrenResults

Return the last execution results.

Methods

method

truncated documentation

__init__

__init__

__init__

__init__

__init__

__init__

__init__

_optional_parameters

_optional_parameters

_optional_parameters

_optional_parameters

_optional_parameters

_optional_parameters

_optional_parameters

execute

Addition

execute

Addition

execute

Addition

execute

Addition

execute

Addition

execute

Addition

execute

Addition

Documentation

Action definition.

source on GitHub

class mlprodict.grammar.gactions_tensor.MLActionTensorAdd(act1, act2)[source]

Bases: mlprodict.grammar.gactions_tensor.MLActionTensorVector

Tensor addition.

source on GitHub

__init__(act1, act2)[source]
Parameters
  • inputs – type of inputs

  • output – output type

  • name – a name which identifies the action

  • children – actions used to compute this one

source on GitHub

class mlprodict.grammar.gactions_tensor.MLActionTensorDiv(act1, act2)[source]

Bases: mlprodict.grammar.gactions_tensor.MLActionTensorVector

Tensor division.

source on GitHub

__init__(act1, act2)[source]
Parameters
  • inputs – type of inputs

  • output – output type

  • name – a name which identifies the action

  • children – actions used to compute this one

source on GitHub

class mlprodict.grammar.gactions_tensor.MLActionTensorDot(act1, act2)[source]

Bases: mlprodict.grammar.gactions.MLActionFunctionCall

Scalar product.

source on GitHub

__init__(act1, act2)[source]
Parameters
  • inputs – type of inputs

  • output – output type

  • name – a name which identifies the action

  • children – actions used to compute this one

source on GitHub

_optional_parameters()[source]

Returns additional parameters to add the function call.

source on GitHub

execute(**kwargs)[source]

Addition

source on GitHub

class mlprodict.grammar.gactions_tensor.MLActionTensorMul(act1, act2)[source]

Bases: mlprodict.grammar.gactions_tensor.MLActionTensorVector

Tensor multiplication.

source on GitHub

__init__(act1, act2)[source]
Parameters
  • inputs – type of inputs

  • output – output type

  • name – a name which identifies the action

  • children – actions used to compute this one

source on GitHub

class mlprodict.grammar.gactions_tensor.MLActionTensorSub(act1, act2)[source]

Bases: mlprodict.grammar.gactions_tensor.MLActionTensorVector

Tensor soustraction.

source on GitHub

__init__(act1, act2)[source]
Parameters
  • inputs – type of inputs

  • output – output type

  • name – a name which identifies the action

  • children – actions used to compute this one

source on GitHub

class mlprodict.grammar.gactions_tensor.MLActionTensorTake(tens, ind)[source]

Bases: mlprodict.grammar.gactions.MLActionFunctionCall

Extracts an element of the tensor.

source on GitHub

__init__(tens, ind)[source]
Parameters
  • inputs – type of inputs

  • output – output type

  • name – a name which identifies the action

  • children – actions used to compute this one

source on GitHub

_optional_parameters()[source]

Returns additional parameters to add the function call.

source on GitHub

execute(**kwargs)[source]

Addition

source on GitHub

class mlprodict.grammar.gactions_tensor.MLActionTensorVector(act1, act2, name, fct)[source]

Bases: mlprodict.grammar.gactions.MLActionFunctionCall

Tensor operation.

source on GitHub

__init__(act1, act2, name, fct)[source]
Parameters
  • inputs – type of inputs

  • output – output type

  • name – a name which identifies the action

  • children – actions used to compute this one

source on GitHub

_optional_parameters()[source]

Returns additional parameters to add the function call.

source on GitHub

execute(**kwargs)[source]

Addition

source on GitHub