gpflow.utilities.misc

gpflow.utilities.misc.cast

gpflow.utilities.misc.cast(value, dtype, name=None)[source]
Parameters
  • value (Union[Tensor, ndarray]) –

  • dtype (DType) –

  • name (Optional[str]) –

Return type

Tensor