inplace_increment

ivy.inplace_increment(x, val, f=None)[source]

Perform in-place increment for the input variable.

Parameters
  • x (variable) – The variable to increment.

  • val (array) – The array to increment the variable with.

  • f (ml_framework, optional) – Machine learning framework. Inferred from inputs if None.

Returns

The variable following the in-place increment.


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty