nki.language.multiply — AWS Neuron Documentation (original) (raw)

This document is relevant for: Inf2, Trn1, Trn2

nki.language.multiply#

nki.language.multiply(x, y, *, dtype=None, mask=None, **kwargs)[source]#

Multiply the inputs, element-wise.

((Similar to numpy.multiply))

Parameters:

Returns:

a tile that has x * y, element-wise.

This document is relevant for: Inf2, Trn1, Trn2