TensorFlow.js Operations
Tensor Addition
You can add two tensors using tensorA.add(tensorB)
function:
Tensor Subtraction
You can subtract two tensors using
tensorA.sub(tensorB)
function:
Tensor Multiplication
You can multiply two tensors using
tensorA.mul(tensorB)
function: