parameters: (dout, x)
return_statement: return RowTensor(dout.indices, values, dout.dense_shape)
docstring: Casts dout values to the dtype of x for RowTensor.
docstring_summary: Casts dout values to the dtype of x for RowTensor.
docstring_tokens: Casts dout values to the dtype of x for RowTensor .
function: def dout_cast_row_tensor(dout, x):
      """Casts dout values to the dtype of x for RowTensor."""
      cast = P.Cast()
      get_dtype = P.DType()
      values = cast(dout.values, get_dtype(x))
      return RowTensor(dout.indices, values, dout.dense_shape)
function_tokens: def dout_cast_row_tensor ( dout , x ) : cast = P . Cast ( ) get_dtype = P . DType ( ) values = cast ( dout . values , get_dtype ( x ) ) return RowTensor ( dout . indices , values , dout . dense_shape )