pub fn cast_tensor_value( cx: &mut Cx, value: Value, target_dtype: Symbol, ) -> Result<Value>
Casts a tensor value into target_dtype and returns it as a runtime value.
target_dtype