mindspore.Tensor.assign_value

Tensor.assign_value(value)[source]

Assign another tensor value to this tensor.

Parameters

value (Tensor) – Tensor for assignment.

Returns

Tensor, Tensor that’s been assigned.