TensorIterator iterator = tensor.iterator();
Tensor current;
while (iterator.hasNext()) {
current = iterator.next();
if (current instanceof TensorNumber) {
number.multiply((TensorNumber) current);
iterator.remove();
}
}
return new SplitNumber(number, tensor.equivalent());
}