parameters: (data, index, value)
return_statement: return _tensor_setitem_by_tensor_with_sequence(data, index, value)
docstring: Assigns the tensor by tensor with tuple value.
docstring_summary: Assigns the tensor by tensor with tuple value.
docstring_tokens: Assigns the tensor by tensor with tuple value .
function: def tensor_setitem_by_tensor_with_sequence(data, index, value):
      """Assigns the tensor by tensor with tuple value."""
      index_dtype = F.dtype(index)
      invalid = const_utils.check_type_invalid(index_dtype, (mstype.int32, mstype.int64))
      if invalid:
          exp_msg = const_utils.gen_exception_msg("The tensor index must be int type, but got {}.", index_dtype)
          const_utils.raise_index_error(exp_msg)
      return _tensor_setitem_by_tensor_with_sequence(data, index, value)
function_tokens: def tensor_setitem_by_tensor_with_sequence ( data , index , value ) : index_dtype = F . dtype ( index ) invalid = const_utils . check_type_invalid ( index_dtype , ( mstype . int32 , mstype . int64 ) ) if invalid : exp_msg = const_utils . gen_exception_msg ( "The tensor index must be int type, but got {}." , index_dtype ) const_utils . raise_index_error ( exp_msg ) return _tensor_setitem_by_tensor_with_sequence ( data , index , value )